2020-07-31 13:48:01 +00:00
|
|
|
{{ define "base" }}
|
2020-09-19 10:57:14 +00:00
|
|
|
<!doctype html>
|
2021-01-04 12:42:30 +00:00
|
|
|
<html lang="{{ .Blog.Lang }}">
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name=viewport content="width=device-width,initial-scale=1">
|
2021-04-12 20:16:41 +00:00
|
|
|
<link rel="stylesheet" href="{{ asset "css/styles.css" }}">
|
2021-01-04 12:42:30 +00:00
|
|
|
{{ with .Canonical }}<link rel="canonical" href="{{ . }}">{{ end }}
|
2021-03-11 08:16:19 +00:00
|
|
|
{{ block "title" . }}
|
2021-08-04 21:26:38 +00:00
|
|
|
<title>{{ mdtitle .Blog.Title }}</title>
|
2021-03-11 08:16:19 +00:00
|
|
|
{{ end }}
|
2021-08-04 21:26:38 +00:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="RSS ({{ mdtitle .Blog.Title }})" href="{{ .Blog.Path }}.rss"/>
|
|
|
|
<link rel="alternate" type="application/atom+xml" title="Atom ({{ mdtitle .Blog.Title }})" href="{{ .Blog.Path }}.atom"/>
|
|
|
|
<link rel="alternate" type="application/feed+json" title="JSON Feed ({{ mdtitle .Blog.Title }})" href="{{ .Blog.Path }}.json"/>
|
2021-08-03 19:39:52 +00:00
|
|
|
<link rel="webmention" href="{{ absolute "/webmention" }}" />
|
2021-01-04 12:42:30 +00:00
|
|
|
<link rel="micropub" href="/micropub" />
|
|
|
|
<link rel="authorization_endpoint" href="/indieauth" />
|
|
|
|
<link rel="token_endpoint" href="/indieauth/token" />
|
2021-06-18 12:32:03 +00:00
|
|
|
{{ with .User }}{{ range .Identities }}<link rel="me" href="{{ . }}" />{{ end }}{{ end }}
|
2021-06-09 20:44:22 +00:00
|
|
|
{{ $os := opensearch .Blog }}
|
|
|
|
{{ if $os }}
|
2021-08-04 21:26:38 +00:00
|
|
|
<link rel="search" type="application/opensearchdescription+xml" href="{{ $os }}" title="{{ mdtitle .Blog.Title }}" />
|
2021-06-09 20:44:22 +00:00
|
|
|
{{ end }}
|
2021-01-04 12:42:30 +00:00
|
|
|
{{ include "header" . }}
|
2021-03-11 08:16:19 +00:00
|
|
|
{{ block "main" . }}{{ end }}
|
2021-01-04 12:42:30 +00:00
|
|
|
{{ include "footer" . }}
|
2021-07-23 10:59:24 +00:00
|
|
|
{{ if .EasterEgg }}
|
|
|
|
<script defer src="{{ asset "js/easteregg.js" }}"></script>
|
|
|
|
{{ end }}
|
2021-01-04 12:42:30 +00:00
|
|
|
</html>
|
2020-07-31 13:48:01 +00:00
|
|
|
{{ end }}
|