1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-29 02:55:48 -04:00

strip any markdown in page titles from meta/social tags in head

This commit is contained in:
2020-08-10 10:58:22 -04:00
parent 9b5a29be7b
commit 0f9de4d350
12 changed files with 40 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
<meta charset="utf-8">
{{ hugo.Generator }}
<title>{{ .Title }}{{ if not .IsHome }}  {{ .Site.Title }}{{ else }} 👨‍💻{{ end }}</title>
<title>{{ .Scratch.Get "plainTitle" }}{{ if not .IsHome }}  {{ .Site.Title }}{{ end }}</title>
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
{{ with .Site.Author.name }}<meta name="author" content="{{ . }}">{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">