|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
|
|
|
|
|
|
<link rel="preload" href="{{ .Site.BaseURL }}fonts/Inter-UI-Regular.woff2" as="font" type="font/woff2"
|
|
|
|
crossorigin="anonymous">
|
|
|
|
<link rel="preload" href="{{ .Site.BaseURL }}fonts/Inter-UI-Bold.woff2" as="font" type="font/woff2"
|
|
|
|
crossorigin="anonymous">
|
|
|
|
|
|
|
|
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
|
|
|
{{- $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
|
|
|
|
|
|
|
{{- range $val := $.Site.Params.customCSS }}
|
|
|
|
{{- if gt (len $val) 0 }}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ $val }}">
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- partial "favicons.html" . -}}
|
|
|
|
|
|
|
|
<!-- Meta tags -->
|
|
|
|
{{- partial "meta-tags.html" . -}}
|
|
|
|
|
|
|
|
<!-- RSS -->
|
|
|
|
<!-- {{- with .OutputFormats.Get "rss" }}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{- end }} -->
|
|
|
|
<link rel="alternate" type="application/rss+xml" href="{{ "/posts/index.xml" | absURL }}" title="{{ $.Site.Title }}" />
|
|
|
|
|
|
|
|
<!-- JSON Feed -->
|
|
|
|
{{- if .OutputFormats.Get "json" }}
|
|
|
|
<link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate"
|
|
|
|
type="application/json" title="{{ .Site.Title }}" />
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- block "title" . }}
|
|
|
|
<title>
|
|
|
|
{{- if .IsHome }}
|
|
|
|
{{- $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }}
|
|
|
|
{{- else }}
|
|
|
|
{{- .Title }} :: {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}
|
|
|
|
{{- end -}}
|
|
|
|
</title>
|
|
|
|
{{- end }}
|