27
0
Fork 1
forked from mirror/Mainroad

extend head with keywords and norobots stuff

This commit is contained in:
dark_hash 2025-02-03 22:59:56 +01:00 committed by Xiretza
parent d0894580e1
commit f8943403ec

View file

@ -1,4 +1,6 @@
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Params.Description }}{{ end }}">
<meta name="keywords" content="{{ if .IsHome }}{{ delimit .Site.Params.keywords "," }}{{ else if .Params.tags }}{{ delimit .Params.tags "," }}{{ end }}">
{{ with .Params.robotsdisallow }}<meta name="robots" content="noindex, nofollow, noarchive">{{ end }}
{{- if .Site.Params.opengraph }}
{{ template "_internal/opengraph.html" . }}