GoBlog/templates/base.gohtml

27 lines
1.2 KiB
Plaintext
Raw Normal View History

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-02 08:59:01 +00:00
<link rel="stylesheet" href="{{ asset "css/styles.css" }}" integrity="{{ assetsri "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" . }}
<title>{{ .Blog.Title }}</title>
{{ end }}
2021-01-04 12:42:30 +00:00
<link rel="alternate" type="application/rss+xml" title="RSS ({{ .Blog.Title }})" href="{{ .Blog.Path }}.rss"/>
<link rel="alternate" type="application/atom+xml" title="Atom ({{ .Blog.Title }})" href="{{ .Blog.Path }}.atom"/>
<link rel="alternate" type="application/feed+json" title="JSON Feed ({{ .Blog.Title }})" href="{{ .Blog.Path }}.json"/>
<link rel="webmention" href="/webmention" />
<link rel="micropub" href="/micropub" />
<link rel="authorization_endpoint" href="/indieauth" />
<link rel="token_endpoint" href="/indieauth/token" />
2021-02-14 16:54:28 +00:00
{{ with user }}
{{ range .Identities }}
<link rel="me" href="{{ . }}" />
{{ end }}
{{ 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" . }}
</html>
2020-07-31 13:48:01 +00:00
{{ end }}