2021-07-31 10:17:32 -04:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="description" content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else if .Description}}{{ .Description | plainify }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
|
|
|
|
<meta name="keywords" content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}" />
|
|
|
|
<meta name="robots" content="noodp" />
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
|
|
|
|
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
|
|
|
|
|
|
<!-- Theme CSS -->
|
|
|
|
<link rel="stylesheet" href="{{ "assets/style.css" | absURL }}">
|
|
|
|
{{ if (isset .Params "color") }}
|
|
|
|
<link rel="stylesheet" href="{{ (printf "assets/%s.css" .Params.color) | absURL }}">
|
|
|
|
{{ else if and (ne $.Site.Params.ThemeColor "orange") (ne $.Site.Params.ThemeColor "color" "") }}
|
|
|
|
<link rel="stylesheet" href="{{ (printf "assets/%s.css" $.Site.Params.ThemeColor) | absURL }}">
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- Custom CSS to override theme properties (/static/style.css) -->
|
|
|
|
{{ if (fileExists "static/style.css") -}}
|
|
|
|
<link rel="stylesheet" href="{{ "style.css" | absURL }}">
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
<!-- Icons -->
|
2021-08-13 19:45:10 -04:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ "img/apple-touch-icon.png" | absURL }}">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ "img/favicon-32x32.png" | absURL }}">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ "img/favicon-16x16.png" | absURL }}">
|
|
|
|
<link rel="manifest" href="{{ "img/site.webmanifest" | absURL }}">
|
|
|
|
<link rel="mask-icon" href="{{ "img/safari-pinned-tab.svg" | absURL }}" color="#5bbad5">
|
|
|
|
<meta name="apple-mobile-web-app-title" content="Seraphim R.P.">
|
|
|
|
<meta name="application-name" content="Seraphim R.P.">
|
2021-08-13 19:58:31 -04:00
|
|
|
<meta name="msapplication-TileColor" content="#8fbcbb">
|
|
|
|
<meta name="theme-color" content="#8fbcbb">
|
2021-07-31 10:17:32 -04:00
|
|
|
|
|
|
|
<!-- Twitter Card -->
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
{{ if (isset $.Site.Params "twitter") }}
|
|
|
|
{{ if (isset $.Site.Params.Twitter "site") }}
|
|
|
|
<meta name="twitter:site" content="{{ $.Site.Params.Twitter.site }}" />
|
|
|
|
{{ end }}
|
|
|
|
<meta name="twitter:creator" content="{{ if .IsHome }}{{ $.Site.Params.Twitter.creator }}{{ else if isset .Params "authortwitter" }}{{ .Params.authorTwitter }}{{ else }}{{ .Params.Author }}{{ end }}" />
|
|
|
|
{{ 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 }}{{ else }}{{ .Title }}{{ end }}">
|
|
|
|
<meta property="og:description" content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else if .Description}}{{ .Description | plainify }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
|
|
|
|
<meta property="og:url" content="{{ .Permalink }}" />
|
|
|
|
<meta property="og:site_name" content="{{ $.Site.Title }}" />
|
|
|
|
{{ if and (not .IsHome) (isset .Params "cover") }}
|
|
|
|
<meta property="og:image" content="{{ .Param "cover" | absURL }}">
|
|
|
|
{{ else }}
|
2021-08-13 19:58:31 -04:00
|
|
|
<meta property="og:image" content="{{ printf "img/android-chrome-384x384.png" | absURL }}">
|
2021-07-31 10:17:32 -04:00
|
|
|
{{ end }}
|
2021-08-13 19:58:31 -04:00
|
|
|
<meta property="og:image:width" content="384">
|
|
|
|
<meta property="og:image:height" content="384">
|
2021-07-31 10:17:32 -04:00
|
|
|
{{ range .Params.categories }}
|
2021-08-13 19:45:10 -04:00
|
|
|
<meta property="article:section" content="{{ . }}" />
|
2021-07-31 10:17:32 -04:00
|
|
|
{{ end }}
|
|
|
|
{{ if isset .Params "date" }}
|
|
|
|
<meta property="article:published_time" content="{{ time .Date }}" />
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- RSS -->
|
|
|
|
{{ with .OutputFormats.Get "RSS" }}
|
|
|
|
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- JSON Feed -->
|
|
|
|
{{ with .OutputFormats.Get "json" }}
|
|
|
|
<link href="{{ .RelPermalink }}" rel="alternate" type="application/json" title="{{ $.Site.Title }}" />
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<!-- Extended head section-->
|
|
|
|
{{ partial "extended_head.html" . }}
|