diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c4963da..f1e2252 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,9 @@ {{- partial "head.html" . -}} {{- partial "header.html" . -}} - {{- block "main" . }}{{- end }} +
+ {{- block "main" . }}{{- end }} +
{{- partial "footer.html" . -}} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index adcde02..961c6a5 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,18 +1,18 @@ {{ define "main" }} -
-
-

{{.Title}}

-
- - {{.Content}} -
- +
+

{{.Title}}

+
+ + {{.Content}} +
+ {{ range .Pages }} -
- {{.Title}} - — {{.PublishDate.Format "2006-01-02"}} -
+
+ {{ .Page.Title }} — + {{ if isset .Params "publishdate" }} + {{.PublishDate.Format "2006-01-02"}} + {{ end }} +
{{ end }} -
-
+ {{ end }} diff --git a/layouts/_default/section.html b/layouts/_default/section.html index e614194..324e260 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -1,20 +1,22 @@ {{ define "main" }} -
- {{ .Content }} - {{ range .Paginator.Pages }} -
- - {{.Title}} - - — {{ .PublishDate.Format "2006-01-02" }} - {{ with .Params.categories }} - {{ range . }} - — {{ . }} - {{ end }} - {{ end }} -
+
+

{{.Title}}

+
+ + {{.Content }} + {{ range .Paginator.Pages }} +
+ + {{.Title}} + + — {{ .PublishDate.Format "2006-01-02" }} + {{ with .Params.categories }} + {{ range . }} + — {{ . }} + {{ end }} {{ end }} - -
+ + {{ end }} + {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 977c0d9..a81308f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,4 @@ {{ define "main" }} -

{{ .Title }}

{{- partial "post-info.html" . -}} @@ -7,6 +6,5 @@
{{ .Content }}
-
{{ end }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..ae6f5d9 --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+

{{.Title}}

+
+ + {{.Content}} +
+ {{ range .Data.Terms.Alphabetical }} +
+

{{ .Page.Title }} ({{ .Count }})

+
+ {{ end }} +
+{{ end }} + diff --git a/static/style.css b/static/style.css index 75bcede..361473b 100644 --- a/static/style.css +++ b/static/style.css @@ -196,3 +196,12 @@ figure p { text-align: center; margin: .2rem 0; } + +.terms { + display: flex; + flex-wrap: wrap; +} + +.term { + margin-right: 1rem; +}