diff options
author | de-souza <43355143+de-souza@users.noreply.github.com> | 2020-03-17 04:08:45 +0300 |
---|---|---|
committer | de-souza <43355143+de-souza@users.noreply.github.com> | 2020-03-17 04:08:45 +0300 |
commit | 89e0f834f46d7e7e529a4935b1a58a0a877d1930 (patch) | |
tree | ca18ef7c2e9e3ea12cc13aa28822c188c8897e8b | |
parent | ed266cc88bf8077de7b0f5d37d70c7124dfbaf59 (diff) |
Fix indentation
-rw-r--r-- | layouts/_default/list.html | 24 | ||||
-rw-r--r-- | layouts/_default/single.html | 12 | ||||
-rw-r--r-- | layouts/_default/terms.html | 18 |
3 files changed, 27 insertions, 27 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a6b13fb..dca50cc 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,18 +1,18 @@ {{ define "main" }} -{{ partial "heading.html" . }} + {{ partial "heading.html" . }} -{{ .Content }} + {{ .Content }} -{{ range .Pages.GroupByPublishDate "2006" }} - <h3>{{ .Key }}</h3> - <ul> - {{ range .Pages }} - <li> - {{ .PublishDate.Format "2006-01-02" }} – <a href="{{ .RelPermalink }}">{{ .Title }}</a> - </li> - {{ end }} - </ul> -{{ end }} + {{ range .Pages.GroupByPublishDate "2006" }} + <h3>{{ .Key }}</h3> + <ul> + {{ range .Pages }} + <li> + {{ .PublishDate.Format "2006-01-02" }} – <a href="{{ .RelPermalink }}">{{ .Title }}</a> + </li> + {{ end }} + </ul> + {{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 82943d7..f1c4fc5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,10 +1,10 @@ {{ define "main" }} -<article> - {{ partial "heading.html" . }} - {{ .Content }} - {{ partial "tags.html" . }} - {{ partial "comments.html" . }} -</article> + <article> + {{ partial "heading.html" . }} + {{ .Content }} + {{ partial "tags.html" . }} + {{ partial "comments.html" . }} + </article> {{ end }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 5e1ab66..a93860a 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,15 +1,15 @@ {{ define "main" }} -{{ partial "heading.html" . }} + {{ partial "heading.html" . }} -{{ .Content }} + {{ .Content }} -<ul class="Tags"> - {{ range .Pages }} - <li class="Tags-item u-background"> - <a class="Tags-link u-clickable" href="{{ .RelPermalink }}">{{ .Title }}</a> - </li> - {{ end }} -</ul> + <ul class="Tags"> + {{ range .Pages }} + <li class="Tags-item u-background"> + <a class="Tags-link u-clickable" href="{{ .RelPermalink }}">{{ .Title }}</a> + </li> + {{ end }} + </ul> {{ end }} |