2021-08-14 20:46:18 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2022-03-20 23:27:08 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/style.css">
|
2021-08-14 22:11:50 +00:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
|
2022-05-03 22:05:35 +00:00
|
|
|
<link rel="shortcut icon" type="image/png" href="{{ .Site.BaseURL }}/favicon.png"/>
|
2021-08-16 23:12:14 +00:00
|
|
|
{{ $title := print .Title }}
|
2021-08-14 20:46:18 +00:00
|
|
|
{{ if .IsHome }}{{ $title = .Site.Title}}{{end}}
|
|
|
|
<title>{{ $title }}</title>
|
2021-08-17 06:10:44 +00:00
|
|
|
<meta property="og:title" content="{{ $title }}">
|
|
|
|
<meta property="og:site_name" content="Shockrah's not-a-blog">
|
2021-09-22 20:46:36 +00:00
|
|
|
{{ $url := .RelPermalink | absURL }}
|
|
|
|
<meta property="og:url" content="{{$url}}">
|
2021-08-17 06:10:44 +00:00
|
|
|
{{ $desc := print .Description }}
|
|
|
|
{{ if .IsHome }}{{ $desc = .Params.Description }}{{end}}
|
|
|
|
<meta property="og:description" content="{{ $desc }}">
|
|
|
|
<meta property="og:type" content="website">
|
2021-09-22 20:46:36 +00:00
|
|
|
{{ $ogvideo := "" }}
|
|
|
|
{{ if .Params.Video }}
|
|
|
|
{{ $ogvideo = .Params.Video }}
|
|
|
|
<meta property="og:video" content="{{ $ogvideo }}">
|
|
|
|
<meta property="og:video:width" content="640">
|
|
|
|
<meta property="og:video:height" content="480">
|
|
|
|
{{ else }}
|
2022-05-03 22:05:35 +00:00
|
|
|
{{ $ogimage := "{{ .Site.BaseURL }}/favicon.png" }}
|
2021-09-22 20:46:36 +00:00
|
|
|
{{ if .Params.Image }}
|
|
|
|
{{ $ogimage = .Params.Image }}
|
|
|
|
{{ end }}
|
|
|
|
<meta property="og:image" content="{{ $ogimage }}">
|
|
|
|
{{ end }}
|
2021-08-14 20:46:18 +00:00
|
|
|
</head>
|