45 lines
1.7 KiB
HTML
45 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>{{ block "title" . }}{{ if not .IsHome }}{{ with .Title }}{{ . }} - {{end}}{{ end }}{{ .Site.Title }}{{ end }}</title>
|
|
<meta name="theme-color" content="{{ .Param "colors.main" | default "#0275D8" }}">
|
|
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Params.Description }}{{end}}">
|
|
{{ template "_internal/opengraph.html" . }}
|
|
{{ template "_internal/schema.html" . }}
|
|
{{ template "_internal/twitter_cards.html" . }}
|
|
{{ $styles := resources.Get "css/style.scss" | toCSS | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}">
|
|
<link rel="shortcut icon" href="{{ .Site.Params.favicon }}">
|
|
{{ range .AlternativeOutputFormats }}
|
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
|
{{ end }}
|
|
{{ if .Param "original" }}
|
|
<link rel="canonical" href="{{ .Param "original" }}">
|
|
{{ else }}
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
{{ end }}
|
|
{{ partialCached "indiewebhead" . (.Param "indieweb.enabled") }}
|
|
{{ partialCached "customhead" . }}
|
|
</head>
|
|
<body class="body">
|
|
<div class="body-container">
|
|
{{ partialCached "header" . }}
|
|
<div class="wrapper flex">
|
|
<div class="primary">
|
|
{{ block "main" . }}
|
|
{{ with .Content }}
|
|
<div class="main-content">
|
|
{{ . }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ partialCached "footer" . }}
|
|
</div>
|
|
{{ partialCached "custombodyend" . }}
|
|
</body>
|
|
</html> |