2023-10-02 12:08:18 +02:00
|
|
|
{{- $options := dict "transpiler" "libsass" "targetPath" "css/style.css" -}}
|
2023-10-31 00:11:46 +01:00
|
|
|
{{- $jsResources := resources.Match "js/*.js" }}
|
2023-10-02 12:08:18 +02:00
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta charset="utf-8">
|
|
|
|
{{- with resources.GetRemote "https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css" }}
|
|
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}" crossorigin="anonymous">
|
|
|
|
{{ end }}
|
|
|
|
{{ with resources.Get "sass/main.scss" | toCSS $options | minify | fingerprint -}}
|
|
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
|
|
|
{{- end }}
|
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}thirdparty/fontawesome6/css/all.min.css" crossorigin="anonymous">
|
|
|
|
|
2023-10-31 00:11:46 +01:00
|
|
|
{{- range $jsResources }}
|
|
|
|
{{- with . | js.Build | minify | fingerprint }}
|
2023-10-02 12:08:18 +02:00
|
|
|
<script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"></script>
|
|
|
|
{{- end }}
|
2023-10-31 00:11:46 +01:00
|
|
|
{{- end }}
|
2023-10-02 12:08:18 +02:00
|
|
|
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
2023-11-04 22:26:11 +01:00
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
2023-11-03 20:36:12 +01:00
|
|
|
{{- end }}
|
2023-10-02 12:08:18 +02:00
|
|
|
|
|
|
|
<title>{{ .Title }}</title>
|
2023-10-27 00:08:07 +02:00
|
|
|
<!-- TODO: Favicon -->
|