From 437ef95e14ed568fd26fd45a950561b8588da024 Mon Sep 17 00:00:00 2001 From: Dillon Date: Sat, 1 Feb 2020 19:47:58 +0800 Subject: feat(exampleSite): add some posts to exampleSite --- layouts/taxonomy/list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/taxonomy/list.html') diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 7f5baa0..55a92b7 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -3,13 +3,13 @@ {{- end -}} {{- define "content" -}} -
+

{{- $taxonomy := .Data.Singular -}} {{- if eq $taxonomy "category" -}} -  {{ .Title }} +  {{ humanize .Title }} {{- else if eq $taxonomy "tag" -}} -  {{ .Title }} +  {{ humanize .Title }} {{- else -}} {{- printf "%s - %s" (T $taxonomy | default (humanize $taxonomy)) .Title -}} {{- end -}} -- cgit v1.2.3