homepage/layouts/_default/baseof.html

63 lines
2.2 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">
2023-01-24 16:13:28 -07:00
<link rel="me" href="https://teh.entar.net/@neale">
2023-06-23 16:06:56 -06:00
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Roboto:ital,wght@0,400;0,700;1,400&display=swap">
2022-09-04 16:59:13 -06:00
<!-- 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}}
2022-10-10 15:53:55 -06:00
{{$url := .}}
{{with $.Page.Resources.GetMatch .}}
{{$url = .RelPermalink}}
{{end}}
<link rel="stylesheet" media="screen" href="{{$url}}">
2022-10-09 20:59:33 -06:00
{{end}}
{{range .Params.scripts}}
{{end}}
2022-09-04 16:59:13 -06:00
{{range .Params.scripts}}
2022-10-10 13:19:19 -06:00
{{$url := .}}
{{with $.Page.Resources.GetMatch .}}
2022-10-10 15:53:55 -06:00
{{$url = .RelPermalink}}
2022-10-10 13:19:19 -06:00
{{end}}
<script src="{{$url}}"
2022-10-09 20:59:33 -06:00
{{- if strings.HasSuffix . ".mjs"}}type="module"{{end -}}
2022-10-10 13:19:19 -06:00
></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>
2023-01-24 16:13:28 -07:00
<h1 class="title {{if .Draft}}draft{{end}}">{{.Title}}</h1>
2022-09-04 16:59:13 -06:00
<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>