a
9aa43df629
The basic parts of the layouts/theme should work. I have only populated 2 albums so far.
37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html
|
|
lang="{{.Site.Language.Lang }}"
|
|
xml:lang="{{.Site.Language.Lang }}"
|
|
prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#"
|
|
>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
{{ with resources.Get "scss/main.scss" }}
|
|
{{ $options := dict
|
|
"targetPath" "css/style.css"
|
|
"transpiler" "libsass"
|
|
"vars" site.Params.style
|
|
}}
|
|
{{ $style := . | toCSS $options | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
|
{{ end }}
|
|
{{ with resources.Get "js/main.js" }}
|
|
{{ $js := . | minify | minify | fingerprint }}
|
|
<script type="text/javascript" src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}"></script>
|
|
{{ end }}
|
|
{{ partial "seo.html" . }}
|
|
{{ block "head" . }}
|
|
{{ end }}
|
|
</head>
|
|
<body>
|
|
{{ block "body" . }}
|
|
{{ partial "site-header.html" . }}
|
|
{{ block "main" . }}
|
|
{{ end }}
|
|
{{ partial "site-footer.html" . }}
|
|
{{ end }}
|
|
</body>
|
|
</html>
|