updated headers / footers / links / post tags

This commit is contained in:
2019-10-27 01:16:35 +02:00
parent c196fcf7a8
commit 261206c9bc
10 changed files with 124 additions and 40 deletions

View File

@@ -1,29 +1,7 @@
<!DOCTYPE html>
<html>
<html lang="{{ $.Site.LanguageCode }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ with .OutputFormats.Get "RSS" }}
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
{{ end }}
{{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
{{ block "title" . }}
<title>
{{ if .IsHome }}
{{ $.Site.Title }}
{{ else }}
{{ .Title }} / {{ $.Site.Title }}
{{ end }}
</title>
{{ end }}
{{ partial "head.html" . }}
{{ partial "site-head.html" . }}
</head>
<body>
@@ -34,7 +12,7 @@
</div>
</div>
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ partial "site-footer.html" . }}
{{ end }}
</body>
</html>