1+ {{ $img := resources.Get .Site.Params.profilePicture }}
2+ < head >
3+ {{ partial "analytics.html" . }}
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > {{ .Title }}</ title >
7+
8+ <!-- SEO Meta Tags -->
9+ < meta name ="description " content ="{{ .Description | default .Summary | plainify}} ">
10+ {{ if .Keywords }}
11+ < meta name ="keywords " content ="{{ delimit .Keywords ", " }}">
12+ {{ end }}
13+ < meta name ="author " content ="{{ .Site.Params.author }} ">
14+
15+ <!-- Open Graph / Facebook -->
16+ < meta property ="og:type " content ="website ">
17+ < meta property ="og:url " content ="{{ .Permalink }} ">
18+ < meta property ="og:title " content ="{{ .Title }} ">
19+ < meta property ="og:description " content ="{{ .Description | default .Summary | plainify}} ">
20+ < meta property ="og:image " content ="{{ if .Params.image }}{{ .Params.image | absURL }}{{ else }}{{ $img.RelPermalink }}{{ end }} ">
21+
22+ <!-- Twitter -->
23+ < meta name ="twitter:card " content ="summary_large_image ">
24+ < meta name ="twitter:title " content ="{{ .Title }} ">
25+ < meta name ="twitter:description " content ="{{ .Description | default .Summary | plainify}} ">
26+ < meta name ="twitter:image " content ="{{ if .Params.image }}{{ .Params.image | absURL }}{{ else }}{{ $img.RelPermalink }}{{ end }} ">
27+
28+ <!-- Canonical URL -->
29+ < link rel ="canonical " href ="{{ .Permalink }} ">
30+
31+ <!-- Favicon -->
32+ < link rel ="icon " type ="image/x-icon " href ="{{ .Site.Params.favicon | default "/favicon.ico" | relURL }}">
33+
34+ {{ $styles := resources.Get "css/main.css" | minify }}
35+ < link rel ="stylesheet " href ="{{ $styles.RelPermalink }} ">
36+ {{ $js := resources.Get "js/main.js" | minify }}
37+ < script src ="{{ $js.RelPermalink }} " defer > </ script >
38+ <!-- Font Awesome for icons -->
39+ < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css ">
40+ <!-- Google Fonts -->
41+ < link href ="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap " rel ="stylesheet ">
42+ </ head >
0 commit comments