diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 50829a1..603ce6f 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -7,7 +7,6 @@ languageCode = "en" DefaultContentLanguage = "en" enableInlineShortcodes = true enableRobotsTXT = true -capitalizeListTitles = false # define gemini media type [mediaTypes] diff --git a/content/tags/_index.md b/content/tags/_index.md new file mode 100644 index 0000000..56d2e29 --- /dev/null +++ b/content/tags/_index.md @@ -0,0 +1,3 @@ +--- +title: Tags +--- diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index 4907815..6e669a2 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -10,7 +10,7 @@

{{ .Title | markdownify }}

My collection of slash pages.
{{ else }} -

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

+

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

{{ with .Description }}{{ . }}
{{ else }}
{{ end }} {{ end }} {{ end }}{{ end }} @@ -19,6 +19,7 @@ {{- if eq .Kind "taxonomy" }} {{- if eq .Title "Tags" }} + {{/* list of all tags */}}
{{- range $key, $value := .Site.Taxonomies }} {{- $slicedTags := ($value.ByCount) }} @@ -30,6 +31,7 @@ {{- end }}
{{- else }} + {{/* list of all categories */}} {{- range .Pages.ByDate.Reverse }} {{- $postDate := .Date.Format "2006-01-02" }} {{- $updateDate := .Lastmod.Format "2006-01-02" }} @@ -37,7 +39,7 @@

{{ .Title | markdownify }}

- ["{{- $postDate }}"{{- if ne $postDate $updateDate }}, "{{ $updateDate }}"{{ end }}] + ["{{ with $updateDate }}{{ . }}{{ else }}{{ .Date }}{{ end }}"]

@@ -49,6 +51,7 @@ {{- end }} {{- else }} {{- if eq .Title "/slashes" }} + {{/* slash page archive */}} {{- $sortedSlashes := sort $pages "Title" }} {{- range $sortedSlashes }} {{- $postDate := .Date.Format "2006-01-02" }} @@ -57,7 +60,7 @@

{{ .Title | markdownify }}

@@ -67,6 +70,7 @@ {{- end }} {{- else }} + {{/* regular posts archive */}} {{- range (.Paginate $pages).Pages }} {{- $postDate := .Date.Format "2006-01-02" }} {{- $updateDate := .Lastmod.Format "2006-01-02" }}