refactor: move partial/head.html and partial/footer.html

This commit is contained in:
Jimmy Cai
2020-09-11 22:41:40 +02:00
parent b64cbe1ef8
commit b064b5ef85
8 changed files with 6 additions and 6 deletions
+18
View File
@@ -0,0 +1,18 @@
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta name='description' content='{{ chomp (partial "data/description" . | plainify ) }}'>
<title>{{ (trim (partial "data/title" .) "\n" ) | safeHTML }}</title>
<link rel='canonical' href='{{ .Permalink }}'>
{{- partial "head/style.html" . -}}
{{- partial "head/script.html" . -}}
{{- partial "head/opengraph/include.html" . -}}
{{- range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{- end -}}
{{- partial "head/custom.html" . -}}
</head>