48 lines
2.2 KiB
HTML
48 lines
2.2 KiB
HTML
{{- $cdn := .Scratch.Get "cdn" | default dict -}}
|
|
{{- $fingerprint := .Scratch.Get "fingerprint" -}}
|
|
|
|
{{- if not .Site.Params.app.noFavicon -}}
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/images/fav/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/images/fav/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/images/fav/favicon-16x16.png">
|
|
<link rel="manifest" href="/images/fav/site.webmanifest">
|
|
<link rel="shortcut icon" href="/images/fav/favicon.ico">
|
|
<meta name="msapplication-TileColor" content="#7d1ba5">
|
|
<meta name="msapplication-config" content="/images/fav/browserconfig.xml">
|
|
<meta name="theme-color" content="#7d1ba5">
|
|
{{- end -}}
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
{{- if .PrevInSection -}}
|
|
<link rel="prev" href="{{ .PrevInSection.Permalink }}" />
|
|
{{- end -}}
|
|
{{- if .NextInSection -}}
|
|
<link rel="next" href="{{ .NextInSection.Permalink }}" />
|
|
{{- end -}}
|
|
|
|
{{- with .OutputFormats.Get "RSS" -}}
|
|
<link rel="alternate" href="{{ .RelPermalink }}" type="application/rss+xml" title="{{ $.Site.Title }}">
|
|
<link rel="feed" href="{{ .RelPermalink }}" type="application/rss+xml" title="{{ $.Site.Title }}">
|
|
{{- end -}}
|
|
|
|
{{- /* normalize.css */ -}}
|
|
{{- $source := $cdn.normalizeCSS | default "lib/normalize/normalize.min.css" -}}
|
|
{{- $style := dict "Source" $source "Fingerprint" $fingerprint -}}
|
|
{{- partial "plugin/style.html" $style -}}
|
|
|
|
{{- /* style.min.css */ -}}
|
|
{{- $style := dict "Source" "css/style.scss" "Fingerprint" $fingerprint -}}
|
|
{{- $options := dict "targetPath" "css/style.min.css" "enableSourceMap" true -}}
|
|
{{- $style = dict "Context" . "ToCSS" $options | merge $style -}}
|
|
{{- partial "plugin/style.html" $style -}}
|
|
|
|
{{- /* Font Awesome */ -}}
|
|
{{- $source := $cdn.fontawesomeFreeCSS | default "lib/fontawesome-free/all.min.css" -}}
|
|
{{- $style := dict "Source" $source "Fingerprint" $fingerprint -}}
|
|
{{- partial "plugin/style.html" $style -}}
|
|
|
|
{{- /* Animate.css */ -}}
|
|
{{- $source := $cdn.animateCSS | default "lib/animate/animate.min.css" -}}
|
|
{{- $style := dict "Source" $source "Fingerprint" $fingerprint -}}
|
|
{{- partial "plugin/style.html" $style -}}
|