{{- T "recentlyUpdated" -}}
+{{- T "recentlyUpdated" -}}
{{- $hasTitle = true -}} {{- end -}}{{- T "recentlyUpdated" -}}
{{- end -}} {{- end -}} {{- end -}} -{{- end -}} \ No newline at end of file +{{- end -}} diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 4cc0c0e99..ac0c4956a 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -7,7 +7,7 @@
{{- /* Title */ -}}
-
+
+
{{- $taxonomy := .Data.Singular -}}
{{- if eq $taxonomy "category" -}}
{{ .Title }}
@@ -39,7 +39,7 @@
{{- else -}}
{{- printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}}
{{- end -}}
-
+
{{- /* Introduction*/ -}}
{{- if .Content -}}
diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html
index 89a150094..41c1a4e6a 100644
--- a/layouts/taxonomy/terms.html
+++ b/layouts/taxonomy/terms.html
@@ -8,9 +8,9 @@
{{- /* Title */ -}}
-
+
{{- .Params.Title | default (T $taxonomies) | default $taxonomies | dict "Some" | T "allSome" -}}
-
+
{{- /* Categories Page */ -}}
{{- if eq $taxonomies "categories" -}}
@@ -22,11 +22,11 @@
{{- with $.Site.GetPage "taxonomy" (printf "%v/%v" $type $term) -}}
-
+
{{ .Page.Title }} {{- len $pages -}}
-
+
{{- range first 5 $pages -}}
{{- else -}} {{- printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}} {{- end -}} -
+
{{- /* Title */ -}}
-
+
+
{{- /* Categories Page */ -}}
{{- if eq $taxonomies "categories" -}}
@@ -22,11 +22,11 @@
{{- with $.Site.GetPage "taxonomy" (printf "%v/%v" $type $term) -}}
+
{{- .Params.Title | default (T $taxonomies) | default $taxonomies | dict "Some" | T "allSome" -}}
-
+
{{- /* Categories Page */ -}}
{{- if eq $taxonomies "categories" -}}
@@ -22,11 +22,11 @@
{{- with $.Site.GetPage "taxonomy" (printf "%v/%v" $type $term) -}}
-
+
{{ .Page.Title }} {{- len $pages -}}
-
+
{{- range first 5 $pages -}}
-
+
+
{{- range first 5 $pages -}}