Files
sabbatical.ipng.nl/themes/hugo-theme-notrack/layouts/partials/head.html
Pim van Pelt 85c57d632b
All checks were successful
continuous-integration/drone/push Build is passing
Add asciinema shortcode
2024-08-02 21:27:35 +02:00

24 lines
1.2 KiB
HTML

<head>
<title>{{ .Site.Title }} {{ with .Title }}- {{ . }} {{ end }}</title>
<link rel="stylesheet" type="text/css" href="{{ "css/fonts.css" | relURL }}">
<link rel="stylesheet" type="text/css" href="{{ "css/fontawesome.css" | relURL }}">
<link rel="stylesheet" type="text/css" href="/asciinema/asciinema-player.css" />
{{ $options := dict "transpiler" "libsass" "targetPath" "css/styles.css" -}}
{{ $style := resources.Get "styles.scss" | toCSS $options | minify | fingerprint -}}
<link rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}">
{{ with resources.Get "css/userstyles.css" }}
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}">
{{ end -}}
{{ with .Site.Params.favicon -}}
<link rel="icon" href="{{ . | relURL }}">
{{ end -}}
<meta charset="UTF-8">
<meta name="author" content="{{ .Site.Params.Author }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<script defer data-domain="sabbatical.ipng.nl" data-api="/api/event" src="/js/script.js"></script>
</head>