From 23766907958505259eee7dd1c8812f658e5b2ba2 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 13 Sep 2021 00:48:07 +0200 Subject: Tags overhaul to improve search results, and some light rewording or reformating --- layouts/docs/single.html | 1 - layouts/partials/breadcrumbs.html | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') 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 }} {{ .Title }}
{{ .Description }} +{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}
Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}{{ . }} {{ end }}{{ end }}{{ end }}

-- cgit v1.2.3