Files
linux-wiki/themes/hugo-theme-learn/layouts/partials/meta.html
2021-10-21 14:08:00 +08:00

3 lines
215 B
HTML

<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}