aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorJulien Dessaux2021-09-13 00:48:07 +0200
committerJulien Dessaux2021-09-13 00:48:07 +0200
commit23766907958505259eee7dd1c8812f658e5b2ba2 (patch)
tree86218bf04bfa43a6a703343d3b9cabb27d8885de /layouts
parentUpdated gentoo upgrades article (diff)
downloadwww-23766907958505259eee7dd1c8812f658e5b2ba2.tar.gz
www-23766907958505259eee7dd1c8812f658e5b2ba2.tar.bz2
www-23766907958505259eee7dd1c8812f658e5b2ba2.zip
Tags overhaul to improve search results, and some light rewording or reformating
Diffstat (limited to 'layouts')
-rw-r--r--layouts/docs/single.html1
-rw-r--r--layouts/partials/breadcrumbs.html1
2 files changed, 1 insertions, 1 deletions
diff --git a/layouts/docs/single.html b/layouts/docs/single.html
index 124695b..cb50875 100644
--- a/layouts/docs/single.html
+++ b/layouts/docs/single.html
@@ -7,4 +7,3 @@
{{ .Content }}
{{ end }}
-
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html
index a4b54cf..9dfe3d5 100644
--- a/layouts/partials/breadcrumbs.html
+++ b/layouts/partials/breadcrumbs.html
@@ -16,4 +16,5 @@
{{ end }}
<strong>{{ .Title }}</strong><br/>
{{ .Description }}
+{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}<br/>Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}<a href="/tags/{{ . }}">{{ . }}</a> {{ end }}{{ end }}{{ end }}
</p>