ritual.sh/layouts/_default/baseof.html

29 lines
1.1 KiB
HTML
Executable file

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
{{/* NOTE: the Site's title, and if there is a page title, that is set too
*/}}
<title>
{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ .
}}{{ end }}{{ end }}
</title>
<meta name="viewport" content="width=device-width,minimum-scale=1" />
{{ hugo.Generator }} {{ $sass := resources.Get "sass/style.scss" }} {{
$style := $sass | css.Sass | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ relURL ($.Site.BaseURL) }}{{ . }}" />
{{ end }} {{ block "favicon" . }} {{ partial "site-favicon.html" . }} {{ end
}}
</head>
<body>
{{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
<main role="main">{{ block "main" . }}{{ end }}</main>
{{ block "footer" . }}{{ partial "site-footer.html" . }}{{ end }} {{ block
"scripts" . }}{{ partial "site-scripts.html" . }}{{ end }}
</body>
</html>