diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-05-05 09:20:44 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-05-05 09:20:44 +0200 |
commit | 87ac17506aa65209b1541464665da569b8699116 (patch) | |
tree | 9220d2a9ea79fdc5425c6bd117c4c40d6276125c | |
parent | a78e42c4de45dc93bb4fb402ed5f829a7583decc (diff) |
Update indentation
-rw-r--r-- | layouts/_default/baseof.html | 56 | ||||
-rw-r--r-- | layouts/posts/list.html | 18 | ||||
-rw-r--r-- | layouts/posts/single.html | 2 | ||||
-rw-r--r-- | layouts/recipes/list.html | 18 | ||||
-rw-r--r-- | layouts/recipes/single.html | 6 | ||||
-rw-r--r-- | layouts/services/list.html | 8 | ||||
-rw-r--r-- | layouts/services/single.html | 1 |
7 files changed, 54 insertions, 55 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 81ed596..98e77f7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -15,34 +15,34 @@ </head> <body> {{- block "body" . }} - <header id="site-header"> - <div class="container"> - <nav> - <a href="/" class="brand-name">{{ .Site.Title }}</a> - {{- range sort .Site.Sections "Title" }} - <a href="{{ .Permalink }}">{{ .Title }}</a> - {{- end }} - </nav> - </div> - </header> - <main id="site-main"> - <div class="container"> - {{- block "main" . }}{{ end }} - </div> - </main> - <footer id="site-footer"> - <div class="container"> - <hr> - <p>© 2016 - {{ now.Year }} – Patrick "tyil" Spek</p> - <p> - All content is licensed as per the license shown below - that content. All other sources (html, css, ...) are - released under the terms of the <a - href="https://www.gnu.org/licenses/gpl-3.0.txt">GNU GPL, - version 3</a> or later. - </p> - </div> - </footer> + <header id="site-header"> + <div class="container"> + <nav> + <a href="/" class="brand-name">{{ .Site.Title }}</a> + {{- range sort .Site.Sections "Title" }} + <a href="{{ .Permalink }}">{{ .Title }}</a> + {{- end }} + </nav> + </div> + </header> + <main id="site-main"> + <div class="container"> + {{- block "main" . }}{{ end }} + </div> + </main> + <footer id="site-footer"> + <div class="container"> + <hr> + <p>© 2016 - {{ now.Year }} – Patrick "tyil" Spek</p> + <p> + All content is licensed as per the license shown below + that content. All other sources (html, css, ...) are + released under the terms of the <a + href="https://www.gnu.org/licenses/gpl-3.0.txt">GNU GPL, + version 3</a> or later. + </p> + </div> + </footer> {{- end }} </body> </html> diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 21f52c1..40a0ba5 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -5,15 +5,15 @@ <h2>{{ .Title }}</h2> <ul> {{- range .Pages }} - <li> - <a href="{{ .Permalink }}">{{ .Title }}</a> - <small> - {{ .Date | dateFormat "2006-01-02" }} - {{- range .Params.tags }} - <a href="/tags/{{ . | lower }}">#{{ . }}</a> - {{- end }} - </small> - </li> + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> + <small> + {{ .Date | dateFormat "2006-01-02" }} + {{- range .Params.tags }} + <a href="/tags/{{ . | lower }}">#{{ . }}</a> + {{- end }} + </small> + </li> {{- end }} </ul> {{- end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index ce18ad5..cab9527 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -3,7 +3,7 @@ <header> <h1>{{ .Title }}</h1> {{- range .Params.tags }} - <a href="/tags/{{ . | lower }}">#{{ . }}</a> + <a href="/tags/{{ . | lower }}">#{{ . }}</a> {{- end }} {{- if .Draft }} <section class="admonition"> diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html index 5da230f..9c51074 100644 --- a/layouts/recipes/list.html +++ b/layouts/recipes/list.html @@ -3,15 +3,15 @@ {{ .Content }} <ul> {{- range sort .Paginator.Pages "Title" }} - <li> - <a href="{{ .Permalink }}">{{ .Title }}</a> - <small> - {{ .Summary }} - {{- range .Params.tags }} - <a href="/tags/{{ . | lower }}">#{{ . }}</a> - {{- end }} - </small> - </li> + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> + <small> + {{ .Summary }} + {{- range .Params.tags }} + <a href="/tags/{{ . | lower }}">#{{ . }}</a> + {{- end }} + </small> + </li> {{- end }} </ul> {{- end }} diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index 14b8ffc..0a7d1ad 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -1,13 +1,13 @@ {{ define "head" }} -<script type="text/javascript" src="/js/cookbook.js"></script> -{{ end }} + <script type="text/javascript" src="/js/cookbook.js"></script> +{{- end }} {{ define "main" }} <article> <header> <h1>{{ .Title }}</h1> {{- range .Params.tags }} - <a href="/tags/{{ . | lower }}">#{{ . }}</a> + <a href="/tags/{{ . | lower }}">#{{ . }}</a> {{- end }} {{- if .Draft }} <section class="admonition"> diff --git a/layouts/services/list.html b/layouts/services/list.html index 94c750b..0f06f87 100644 --- a/layouts/services/list.html +++ b/layouts/services/list.html @@ -3,10 +3,10 @@ {{ .Content }} <ul> {{ range .Paginator.Pages }} - <li> - <a href="{{ .Permalink }}">{{ .Title }}</a> - <small>{{ .Params.location }}</small> - </li> + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> + <small>{{ .Params.location }}</small> + </li> {{ end }} </ul> {{ end }} diff --git a/layouts/services/single.html b/layouts/services/single.html index 9f2354b..e1afa52 100644 --- a/layouts/services/single.html +++ b/layouts/services/single.html @@ -8,7 +8,6 @@ <li><strong>Base URL</strong>: <a href="{{ .Params.location }}">{{ .Params.location }}</a></li> <li><strong>Upstream</strong>: <a href="{{ .Params.upstream }}">{{ .Params.upstream }}</a></li> </ul> - {{ .Content }} </main> </article> |