mirror of
https://github.com/yrzam/yrzam-hugo-theme.git
synced 2025-04-19 12:19:09 +00:00
30 lines
963 B
HTML
30 lines
963 B
HTML
<!doctype html>
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<!-- prettier-ignore -->
|
|
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
|
{{ $opts := dict "transpiler" "libsass" "targetPath" "style.css" }}
|
|
{{ with resources.Get "css/index.scss" | toCSS $opts | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" />
|
|
{{ end }}
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
</head>
|
|
<body>
|
|
{{ block "body" . }}
|
|
<div class="classic-layout-container">
|
|
<header>
|
|
{{ block "header" . }}{{ end }}
|
|
</header>
|
|
<main>
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
<footer>
|
|
{{ block "footer" . }}{{ end }}
|
|
</footer>
|
|
</div>
|
|
{{ end }}
|
|
</body>
|
|
</html>
|