mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 13:10:40 +00:00
82 lines
2.0 KiB
HTML
82 lines
2.0 KiB
HTML
<script src="{{ index (index .Site.Data.assets "main.js") "src" | relURL }}"></script>
|
|
|
|
<link
|
|
rel="preload"
|
|
as="font"
|
|
href="{{ "fonts/Metropolis.woff2" | relURL }}"
|
|
type="font/woff2"
|
|
crossorigin="anonymous"
|
|
/>
|
|
<link
|
|
rel="preload"
|
|
as="font"
|
|
href="{{ "fonts/LiberationSans.woff2" | relURL }}"
|
|
type="font/woff2"
|
|
crossorigin="anonymous"
|
|
/>
|
|
<link
|
|
rel="preload"
|
|
as="font"
|
|
href="{{ "fonts/GeekblogIcons.woff2" | relURL }}"
|
|
type="font/woff2"
|
|
crossorigin="anonymous"
|
|
/>
|
|
|
|
<link
|
|
rel="preload"
|
|
href="{{ index (index .Site.Data.assets "main.scss") "src" | relURL }}"
|
|
as="style"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ index (index .Site.Data.assets "main.scss") "src" | relURL }}"
|
|
media="all"
|
|
/>
|
|
|
|
<link
|
|
rel="preload"
|
|
href="{{ index (index .Site.Data.assets "mobile.scss") "src" | relURL }}"
|
|
as="style"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ index (index .Site.Data.assets "mobile.scss") "src" | relURL }}"
|
|
media="screen and (max-width: 45rem)"
|
|
/>
|
|
|
|
<link
|
|
rel="preload"
|
|
href="{{ index (index .Site.Data.assets "print.scss") "src" | relURL }}"
|
|
as="style"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ index (index .Site.Data.assets "print.scss") "src" | relURL }}"
|
|
media="print"
|
|
/>
|
|
|
|
<link
|
|
rel="preload"
|
|
href="{{ index (index .Site.Data.assets "custom.css") "src" | relURL }}"
|
|
as="style"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ index (index .Site.Data.assets "custom.css") "src" | relURL }}"
|
|
media="all"
|
|
/>
|
|
|
|
{{- with (.Site.GetPage "home").OutputFormats.Get "atom" }}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s Atom Feed">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{- end }}
|
|
|
|
{{- with (.Site.GetPage "home").OutputFormats.Get "json" }}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s JSON Feed">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{- end }}
|
|
|
|
{{- if (default false $.Site.Params.GeekblogOverwriteHTMLBase) }}
|
|
<base href="{{ .Site.BaseURL }}" />
|
|
{{- end }}
|
|
|
|
{{ printf "<!-- %s -->" "Made with Geekblog theme https://github.com/thegeeklab/hugo-geekblog" | safeHTML }}
|