git: 096e8aa61f - main - documentation: Fix empty keywords
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Feb 2023 17:31:14 UTC
The branch main has been updated by dbaio:
URL: https://cgit.FreeBSD.org/doc/commit/?id=096e8aa61f7b451058f3d19137cf0340e9aec8f1
commit 096e8aa61f7b451058f3d19137cf0340e9aec8f1
Author: Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-02-11 17:20:18 +0000
Commit: Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-02-11 17:20:18 +0000
documentation: Fix empty keywords
The tags info is available in the Hugo Page-level Params and not in the
Site Variables.
---
documentation/themes/beastie/layouts/partials/site-head.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/themes/beastie/layouts/partials/site-head.html b/documentation/themes/beastie/layouts/partials/site-head.html
index 7db1145ebd..3df53a79fe 100644
--- a/documentation/themes/beastie/layouts/partials/site-head.html
+++ b/documentation/themes/beastie/layouts/partials/site-head.html
@@ -2,7 +2,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}"/>
- <meta name="keywords" content="{{ with .Site.Params.tags -}}{{ delimit . ", " }}{{- end }}" />
+ <meta name="keywords" content="{{ with .Params.tags -}}{{ delimit . ", "}}{{- end }}"/>
<meta name="copyright" content="1995-2021 The FreeBSD Foundation">
<link rel="canonical" href="{{ .Permalink }}" />