mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 11:33:20 +01:00
44 lines
2.1 KiB
HTML
44 lines
2.1 KiB
HTML
{{- $scratch := .Scratch.Get "scratch" -}}
|
|
{{- $CDN := $scratch.Get "CDN" -}}
|
|
{{- $fingerprint := $scratch.Get "fingerprint" -}}
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
|
|
|
{{- 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" -}}
|
|
{{- $stylesheet := dict "source" $source "fingerprint" $fingerprint -}}
|
|
{{- partial "plugin/stylesheet.html" $stylesheet -}}
|
|
|
|
{{- /* style.min.css */ -}}
|
|
{{- $stylesheet := dict "source" "css/style.template.scss" "fingerprint" $fingerprint -}}
|
|
{{- $options := dict "targetPath" "css/style.min.css" "includePaths" (slice "config/css") -}}
|
|
{{- $stylesheet = dict "template" "style.scss" "context" . "toCSS" $options | merge $stylesheet -}}
|
|
{{- partial "plugin/stylesheet.html" $stylesheet -}}
|
|
|
|
{{- /* Font Awesome */ -}}
|
|
{{- $source := $CDN.fontawesomeFreeCSS | default "lib/fontawesome-free/all.min.css" -}}
|
|
{{- $stylesheet := dict "source" $source "fingerprint" $fingerprint -}}
|
|
{{- partial "plugin/stylesheet.html" $stylesheet -}}
|
|
|
|
{{- /* Animate.css */ -}}
|
|
{{- $source := $CDN.animateCSS | default "lib/animate/animate.min.css" -}}
|
|
{{- $stylesheet := dict "source" $source "fingerprint" $fingerprint -}}
|
|
{{- partial "plugin/stylesheet.html" $stylesheet -}}
|