diff --git a/layouts/_default/stats.html b/layouts/_default/stats.html index 8cb0297..cedaaa2 100644 --- a/layouts/_default/stats.html +++ b/layouts/_default/stats.html @@ -28,6 +28,9 @@ {{ end }} {{ end }} + + {{ $mostPopularTag := index .Site.Taxonomies.tags.ByCount 0 }} + {{ $wordCount := $scratch.Get "wordcount" }} {{ $avgPostLength := div $wordCount $postCount }} @@ -47,6 +50,14 @@ + + + +
Number of Topics {{ len $tags | lang.NumFmt 0 }}
Most Popular Topic + {{ with $mostPopularTag }} + {{ .Page.Title }} with {{ .Count }} posts + {{ end }} +
Longest Post Published