From ab789fc20396bb583835c1f47478c1f17039d39f Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Wed, 20 Jul 2022 01:14:33 +0200 Subject: Provide minimal tag cloud --- layouts/_default/list.html | 1 + layouts/_default/term.html | 1 + layouts/_default/terms.html | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 layouts/_default/terms.html (limited to 'layouts/_default') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 85e8a43..2fd13ba 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,6 @@ {{ define "main" }} +{{/* This template is for list of all publications in a Section */}}
{{ with .Title }}

{{ . }}

{{ end }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 03430d4..6450775 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,5 +1,6 @@ {{ define "main" }} +{{/* This template is for list of all publications in a Term (for example a Tag) */}}

{{ with .Title }}{{ i18n "publications_tagged" . }}{{ end }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..20e8f29 --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,29 @@ +{{ define "main" }} + +{{/* This template is for list of all Tags */}} +
+

+ {{ with .Title }} + {{ i18n "tag_cloud" . }} + {{ end }} +

+ + {{ $tags := site.Taxonomies.tags.ByCount }} + +
+ +
+
+ +{{ end }} -- cgit v1.2.3