diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 6eba1e3..b46438d 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -32,6 +32,31 @@

- {{ .Da {{ end }} {{ end }} +{{ else if and $.Site.Taxonomies.series (eq $termName "series") }} + +
+ {{ range $terms }} + {{ $term := .Term }} + {{ $pages := .Pages }} + {{ with $.Site.GetPage "taxonomy" (printf "%s/%s" $type $term) }} +
+
+

{{ $term | humanize}}

+ {{ range first 5 $pages }} + + {{ end }} + {{ if gt (len $pages) 5 }} + + More >> + + {{ end }} +
+
+ {{ end }} +{{ end }} +
{{ else if and $.Site.Taxonomies.tags (eq $termName "tags") }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2e08a5f..9c5f82a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -42,3 +42,4 @@ {{ end }} {{ end }} {{ .Scratch.Set "cdn_url" $cdn_url }} +{{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/partials/seo_schema.html b/layouts/partials/seo_schema.html index 2103c7a..35053d2 100644 --- a/layouts/partials/seo_schema.html +++ b/layouts/partials/seo_schema.html @@ -16,7 +16,8 @@ {{ end }} {{ if .IsPage }}