summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..1891408
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,30 @@
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
+ <title>{{ if not .IsHome }}{{ with .Title }}{{ . }} | {{ end }}{{ end }}{{ .Site.Title }}</title>
+ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Summary }}{{ . }}{{ else }}{{ .Site.Params.description }}{{end }}{{ end }} ">
+ {{ template "_internal/opengraph.html" . }}
+ {{ template "_internal/twitter_cards.html" . }}
+
+ <link rel="canonical" href="{{ .Permalink }}" />
+ <link rel="icon" href="/favicon.ico" >
+ <link href="https://fonts.googleapis.com/css?family=Libre+Baskerville&display=swap"
+ rel="stylesheet">
+ {{ if .Site.Params.katex }}
+ <link rel="stylesheet"
+ href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.min.css"
+ integrity="sha384-9eLZqc9ds8eNjO3TmqPeYcDj8n+Qfa4nuSiGYa6DjLNcv9BtN69ZIulL9+8CqC9Y"
+ crossorigin="anonymous">
+ {{ end }}
+ <link rel="stylesheet"
+ href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
+ integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
+ crossorigin="anonymous">
+ <link rel="stylesheet" href="/css/fonts.css" />
+ <link rel="stylesheet" href="/css/syntax.css" />
+ <link rel="stylesheet" href="/css/colours.css" />
+ <link rel="stylesheet" href="/css/default.css" />
+
+ <link rel="preload" href="/fonts/woff2/iosevka-extrabold.woff2">
+</head>