homepage/layouts/_default/baseof.html

55 lines
1.9 KiB
HTML
Raw Normal View History

2022-09-04 16:59:13 -06:00
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic">
<!-- My stuff -->
<link rel="icon" type="image/png" href="{{"/assets/images/face.png" | relURL}}">
2022-10-09 20:59:33 -06:00
<link rel="stylesheet" media="screen" href="{{"/assets/css/default.css" | relURL}}">
2022-09-04 16:59:13 -06:00
{{range .AlternativeOutputFormats}}
<link rel="{{.Rel}}" type="{{.MediaType.Type}}" title="{{$.Site.Title}}" href="{{.Permalink}}">
{{end}}
2022-10-09 20:59:33 -06:00
{{range .Params.stylesheets}}
<link rel="stylesheet" media="screen" href="{{($.Page.Resources.GetMatch .).RelPermalink}}">
{{end}}
{{range .Params.scripts}}
{{end}}
2022-09-04 16:59:13 -06:00
{{range .Params.scripts}}
2022-10-09 20:59:33 -06:00
<script src="{{($.Page.Resources.GetMatch .).RelPermalink}}"
{{- if strings.HasSuffix . ".mjs"}}type="module"{{end -}}
></script>
2022-09-04 16:59:13 -06:00
{{end}}
{{range .Params.headers}}
2022-09-04 20:04:25 -06:00
{{. | safeHTML}}
2022-09-04 16:59:13 -06:00
{{end}}
<title>{{ .Title }}</title>
</head>
<body>
<h1 class="title">{{.Title}}</h1>
<main id="content">
{{ block "main" . }}{{end}}
</main>
<footer>
<nav>
<ul>
<li><a href="{{ "/tartans/" | relURL }}" title="AKA Plaids">Tartans</a></li>
<li><a href="{{ "/poems/" | relURL }}" title="I won't quit my day job">Poems</a></li>
<li><a href="{{ "/papers/" | relURL }}" title="Various writings">Papers</a></li>
<li><a href="{{ "/blog/" | relURL }}" title="Public Journal">Blog</a></li>
<li><a href="{{ "/toys/" | relURL }}" title="Dumb apps">Toys</a></li>
<li class="fill"></li>
<li><a href="https://git.woozle.org/neale/">Git</a></li>
<li><a href="mailto:neale@woozle.org">Email</a></li>
</ul>
</nav>
2022-09-04 19:54:41 -06:00
<p id="timestamp">Last modified: {{.Lastmod | time.Format "2006-Jan-02"}}</p>
2022-09-04 16:59:13 -06:00
</footer>
</body>
</html>