blog/layouts/_default/baseof.html

49 lines
1.7 KiB
HTML
Raw Normal View History

2020-11-03 22:14:45 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2021-01-07 22:01:08 +00:00
<title>michael's blog</title>
2020-11-03 22:14:45 +00:00
2021-11-01 03:45:54 +00:00
{{ block "headExtra" . }}{{ end }}
2022-02-07 22:32:10 +00:00
{{ partial "head" . }}
2021-11-01 03:45:54 +00:00
2020-11-03 22:14:45 +00:00
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS }}
2021-07-06 21:57:42 +00:00
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
2020-11-03 22:14:45 +00:00
</head>
<body>
2022-01-25 00:35:39 +00:00
{{ block "body" . }}
2020-11-03 22:14:45 +00:00
<header>
<div id="header" class="container">
<a href="/" id="title" class="title nocolorlink">{{ .Site.Title }}</a>
<div id="nav">
{{- range $index, $page := .Site.Home.Pages -}}
{{- if ne $index 0 -}}
&nbsp;&middot;&nbsp;
{{- end -}}
<a href="{{ .RelPermalink }}" class="link">{{ $page.Title }}</a>
{{- end -}}
</div>
</div>
</header>
<div class="container" style="padding: 5px 40px;">
{{ block "content" . }}{{ end }}
</div>
2021-07-06 20:58:39 +00:00
<footer>
2020-11-03 22:14:45 +00:00
<p style="margin: 0;">
2021-07-06 21:57:42 +00:00
blog code licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.txt" target="_blank">[gpl3]</a>.
post contents licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt">[cc by-sa 4.0]</a>.
2021-07-06 07:19:39 +00:00
<br />
2020-11-03 22:14:45 +00:00
written by michael zhang.
2022-02-02 10:26:08 +00:00
<a href="https://git.sr.ht/~mzhang/blog" class="colorlink" target="_blank">[source]</a>.
2020-11-03 22:14:45 +00:00
</p>
2021-07-06 20:58:39 +00:00
</footer>
2022-01-25 00:35:39 +00:00
{{ end }}
2020-11-03 22:14:45 +00:00
</body>
</html>