2021-05-18 16:22:28 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2021-05-20 15:52:06 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2021-05-23 01:42:17 +02:00
|
|
|
{{ $styleBulma := resources.Get "css/bulma.min.css" }}
|
|
|
|
{{ $styleCustom := resources.Get "css/custom.css" }}
|
|
|
|
<link rel="stylesheet" href="{{ $styleBulma.Permalink }}">
|
|
|
|
<link rel="stylesheet" href="{{ $styleCustom.Permalink }}">
|
2022-11-05 23:12:24 +01:00
|
|
|
<!-- RSS feed -->
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
2022-11-13 20:29:49 +01:00
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
2022-11-05 23:12:24 +01:00
|
|
|
{{ end -}}
|
2022-11-07 01:15:03 +01:00
|
|
|
<!-- Default to home image -->
|
|
|
|
{{ $image := resources.Get "img/home.jpg" }}
|
|
|
|
<!-- If header image exists in current context, use it instead -->
|
|
|
|
{{ with .Resources.GetMatch "top.jpg" }}
|
|
|
|
{{ $image = . }}
|
|
|
|
{{ end }}
|
|
|
|
{{ $image = $image.Resize "3000x" }}
|
2023-08-09 21:08:28 +02:00
|
|
|
{{ $image := $image | images.Filter (images.GaussianBlur 7) }}
|
2021-05-25 02:39:24 +02:00
|
|
|
<!-- tbh I am too lazy to extend Bulma, so put dirty CSS directives here to be able to use Hugo templating system -->
|
|
|
|
<style>
|
2022-11-07 01:15:03 +01:00
|
|
|
.has-bg-img {
|
|
|
|
background: url('{{ $image.Permalink }}')center center;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2021-05-25 02:39:24 +02:00
|
|
|
</style>
|
2021-05-27 00:56:21 +02:00
|
|
|
<!-- Favico -->
|
2021-05-27 01:07:12 +02:00
|
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
|
|
|
|
<link rel="icon" sizes="196x196" href="/favicon-196.png" type="image/png">
|
2021-05-27 00:56:21 +02:00
|
|
|
<meta name="msapplication-TileImage" content="favicon-144.png">
|
|
|
|
<meta name="msapplication-TileColor" content="#FFFFFF">
|
2022-11-05 23:12:24 +01:00
|
|
|
<title>{{ .Site.Title }}</title>
|
2022-11-07 01:15:03 +01:00
|
|
|
</head>
|