summaryrefslogtreecommitdiff
path: root/layouts/partials/header/meta.html
blob: 8442da1c97ceb55b791e1bba7dc4d5e8e58be7d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  <meta charset="utf-8">
  <title>
      {{- block "title" . }}
      {{ .Page.Title }} @ {{ .Site.Title}}
      {{- end }}
  </title>
   <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}}">
  
  <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}}">
  
  <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">