2018-07-20 19:14:22 +02:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
2019-01-25 18:54:07 +01:00
|
|
|
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.Subtitle }}{{ else }}{{ .Summary | plainify }}{{ end }}"/>
|
2018-07-20 19:14:22 +02:00
|
|
|
<meta name="keywords" content="{{ .Site.Params.keywords }}"/>
|
|
|
|
<meta name="robots" content="noodp"/>
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
|
|
|
2019-01-28 17:20:40 +01:00
|
|
|
<!-- Theme CSS -->
|
2019-01-28 22:51:51 +01:00
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/assets/style.css">
|
2019-01-28 17:20:40 +01:00
|
|
|
|
|
|
|
<!-- Custom CSS to override theme properties (/static/style.css) -->
|
2019-01-28 22:51:51 +01:00
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/style.css">
|
2018-07-20 19:14:22 +02:00
|
|
|
|
|
|
|
<!-- Icons -->
|
2018-10-02 12:09:38 +02:00
|
|
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/img/apple-touch-icon-144-precomposed.png">
|
2019-01-28 22:51:51 +01:00
|
|
|
<link rel="shortcut icon" href="{{ .Site.BaseURL }}/img/favicon.png">
|
2018-07-20 19:14:22 +02:00
|
|
|
|
|
|
|
<!-- Twitter Card -->
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:title" content="{{ if .IsHome }}{{ $.Site.Title }} — {{ $.Site.Params.Subtitle }}{{ else }}{{ .Title }} :: {{ $.Site.Title }} — {{ $.Site.Params.Subtitle }}{{ end }}" />
|
2019-01-25 18:54:07 +01:00
|
|
|
<meta name="twitter:description" content="{{ if .IsHome }}{{ $.Site.Params.tagline }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
|
|
|
|
<meta name="twitter:site" content="{{ .Site.BaseURL }}" />
|
|
|
|
<meta name="twitter:creator" content="{{ .Params.Author }}" />
|
2018-07-20 19:14:22 +02:00
|
|
|
<meta name="twitter:image" content="{{ with .Params.Cover }}{{ $.Site.BaseURL }}img/post/{{ . }}{{ else }}{{ $.Site.BaseURL }}img/default.jpg{{ end }}">
|
|
|
|
|
|
|
|
<!-- OG data -->
|
|
|
|
<meta property="og:locale" content="{{ $.Site.Language.Lang }}" />
|
|
|
|
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
|
|
|
|
<meta property="og:title" content="{{ if .IsHome }}{{ $.Site.Title }} — {{ $.Site.Params.Subtitle }}{{ else }}{{ .Title }} :: {{ $.Site.Title }} — {{ $.Site.Params.Subtitle }}{{ end }}">
|
2019-01-25 18:54:07 +01:00
|
|
|
<meta property="og:description" content="{{ if .IsHome }}{{ $.Site.Params.tagline }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
|
2018-07-20 19:14:22 +02:00
|
|
|
<meta property="og:url" content="{{ .Permalink }}" />
|
|
|
|
<meta property="og:site_name" content="{{ .Title }}" />
|
|
|
|
<meta property="og:image" content="{{ with .Params.Cover }}{{ $.Site.BaseURL }}img/post/{{ . }}{{ else }}{{ $.Site.BaseURL }}img/default.jpg{{ end }}">
|
|
|
|
<meta property="og:image:width" content="2048">
|
|
|
|
<meta property="og:image:height" content="1024">
|
|
|
|
{{ range .Params.categories }}<meta property="article:section" content="{{ . }}" />{{ end }}
|
|
|
|
{{ if isset .Params "date" }}<meta property="article:published_time" content="{{ time .Date }}" />{{ end }}
|
|
|
|
|
|
|
|
<!-- RSS -->
|
|
|
|
{{ if .RSSLink }}
|
|
|
|
<link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- JSON Feed -->
|
|
|
|
{{ if .OutputFormats.Get "json" }}
|
|
|
|
<link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate" type="application/json" title="{{ .Site.Title }}" />
|
|
|
|
{{ end }}
|