Files
website-hugo/themes/lhs/layouts/partials/head.html

29 lines
1.4 KiB
HTML

<meta charset="utf-8">
<title>{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<!-- favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ absURL "apple-touch-icon.png" }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ absURL "favicon-32x32.png" }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ absURL "favicon-16x16.png" }}">
<link rel="manifest" href="{{ absURL "site.webmanifest" }}">
<link rel="mask-icon" href="{{ absURL "safari-pinned-tab.svg"}}" color="#b91d47">
<meta name="msapplication-TileColor" content="#b91d47">
<meta name="theme-color" content="#ffffff">
<link rel="alternate" type="application/rss+xml" href="{{ absURL "blog/index.xml" }}" title="{{ .Site.Title }}">
<link rel="alternate" type="text/calendar" href="https://api.leighhack.org/events.ics" title="{{ .Site.Title }} Events">
<link rel="canonical" href="{{ .RelPermalink }}">
{{ if .Page.Store.Get "hasMap" }}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v8.2.0/ol.css">
{{ end }}
{{ $opts := dict "transpiler" "libsass" "targetPath" "css/leighhack.css" }}
{{ with resources.Get "sass/leighhack.scss" | toCSS $opts | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}