Ran linters on all files and added codespell (#13)

This commit is contained in:
Alejandro Angulo 2021-12-31 11:34:37 -08:00 committed by GitHub
parent 7b118b71d6
commit dc9b131e72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 229 additions and 228 deletions

View file

@ -1,11 +1,12 @@
{{ define "main" }}
<pre>
<pre>
░█▀█░█▀█░▀█▀░░░█▀▀░█▀█░█░█░█▀█░█▀▄
░█░█░█░█░░█░░░░█▀▀░█░█░█░█░█░█░█░█
░▀░▀░▀▀▀░░▀░░░░▀░░░▀▀▀░▀▀▀░▀░▀░▀▀░
</pre>
<p>
<a href="{{ .Site.BaseURL }}">Go home</a> or use the navigation at the top to navigate to another page.
</p>
<p>
<a href="{{ .Site.BaseURL }}">Go home</a> or use the navigation at the top
to navigate to another page.
</p>
{{ end }}

View file

@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View file

@ -1,10 +1,8 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Pages.ByPublishDate.Reverse }}
<p>
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<h1>{{ .Title }}</h1>
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ range .Pages.ByPublishDate.Reverse }}
{{ partial "metadata.html" . }}
<p class="summary">{{ .Summary }}</p>
</p>
{{ end }}
{{ end }}
{{ end }}

View file

@ -1,5 +1,5 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ partial "metadata.html" . }}
{{ .Content }}
<h1>{{ .Title }}</h1>
{{ partial "metadata.html" . }}
{{ .Content }}
{{ end }}

View file

@ -1,18 +1,18 @@
<div id="header">
<div id="banner">
<div class="lhs">
<a class="home-link" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
<div class="rhs">
<nav id="nav" class="nav justify-content-center">
{{ range .Site.Menus.main }}
<a class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
{{ end }}
</nav>
<span class="current-page">[{{ .Title }}]</span>
</div>
<div id="banner">
<div class="lhs">
<a class="home-link" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
<div class="rhs">
<nav id="nav" class="nav justify-content-center">
{{ range .Site.Menus.main }}
<a class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
{{ end }}
</nav>
<span class="current-page">[{{ .Title }}]</span>
</div>
</div>
</div>