summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html58
1 files changed, 2 insertions, 56 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 6325675..e348fd5 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,55 +1,12 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>
- {{- block "title" . }}
- [{{ .Site.Title}}] {{ .Page.Title }}
- {{- end }}
- </title>
- <link rel='stylesheet' type='text/css' href='/style.css?v=4.0'>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- {{- $image := resources.Get "/icons/apple-touch-icon.png"}}
- <link rel="apple-touch-icon" sizes="180x180" href="{{ $image.Permalink }}">
- {{- $image := resources.Get "/icons/favicon-32x32.png" }}
- <link rel="icon" type="image/png" sizes="32x32" href="{{ $image.Permalink }}">
- {{- $image := resources.Get "/icons/favicon-16x16.png" }}
- <link rel="icon" type="image/png" sizes="16x16" href="{{ $image.Permalink }}">
- <meta name="description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}">
+ {{ partial "header/meta" . }}
- <meta property="og:title" content="{{ .Page.Title }}">
- <meta property="og:type" content="website">
- <meta property="og:url" content="{{ .Permalink }}">
- {{- $imageUrl := default "logos/right.png" .Params.image }}
- {{- $image := resources.Get $imageUrl }}
- <meta property="og:image" content="{{ $image.Permalink }}">
- <meta property="og:description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}">
-
- <meta name="twitter:title" content="{{ .Page.Title }}">
- <meta name="twitter:image" content="{{ $image.Permalink }}">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}" >
-
- <link rel="canonical" href="{{ .Permalink }}">
- <link rel='alternate' type='application/rss+xml' title="Feed with all changes" href='/index.xml'>
- <link rel='alternate' type='application/rss+xml' title="Feed with Emacs changes" href='/emacs/rss.xml'>
- <link rel='alternate' type='application/rss+xml' title="Feed with BSD changes" href='/bsd/rss.xml'>
- <meta name="robots" content="index, follow">
- {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">{{end}}
- <link rel="me" href="https://emacs.ch/@mms">
-
- <link href="https://github.com/michalsapka" rel="me">
- <link rel="webmention" href="https://webmention.io/d-s.sh/webmention">
- <link rel="pingback" href="https://webmention.io/d-s.sh/xmlrpc">
- </head>
-
{{ $section_class := "mms"}}
{{ if in .Page.Params.categories "star-trek" }}
{{ $section_class = "star-trek" }}
{{ else if in .Page.Params.category "site-info" }}
{{ $section_class = "site-info" }}
- {{ else if in .Page.Params.categories "site" }}
- {{ $section_class = "site-info" }}
{{ else if in .Page.Params.categories "bsd" }}
{{ $section_class = "bsd" }}
{{ else if in .Page.Params.categories "blog" }}
@@ -65,20 +22,9 @@
{{ partial "header/header" . }}
<main class="right-column">
-
-
{{ block "main" . }}
{{ end }}
-
- {{ block "pagination" . }}
- {{ end }}
-
- <br><br>
-
</main>
- <footer>
- {{ partial "button-15" (dict "button" . "file" "home.gif" "alt" "Return to homepage" "href" "/") }}
- {{ partial "button-15" (dict "button" . "file" "rss-20.gif" "alt" "RSS feed" "href" "/index.xml") }}
- </footer>
+ {{ partial "footer/footer" . }}
</body>
</html>