30 lines
1.7 KiB
HTML
30 lines
1.7 KiB
HTML
<head>
|
|
<title>{{ .Site.Title }} - {{ .Title }}</title>
|
|
<meta charset="UTF-8">
|
|
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Regular.otf">
|
|
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Light.otf">
|
|
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Bold.otf">
|
|
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.woff2?54316140">
|
|
{{ $mainstyle := resources.Get "/scss/main.scss" | toCSS }}
|
|
{{ if .Site.Params.includeAppsStyle }}
|
|
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS }}
|
|
{{ $style := slice $mainstyle $appsstyle | resources.Concat "css/bundle.css" | minify }}
|
|
<link rel="preload" href="{{ $style.Permalink }}" as="style" onload="this.rel='stylesheet'">
|
|
{{ else }}
|
|
{{ $style := $mainstyle | minify }}
|
|
<link rel="preload" href="{{ $style.Permalink }}" as="style" onload="this.rel='stylesheet'">
|
|
{{ end }}
|
|
{{ $printstyle := resources.Get "/scss/print.scss" | toCSS | minify }}
|
|
<link rel="stylesheet" href="{{ $printstyle.Permalink }}" media="print">
|
|
<link rel="icon" href="/img/logo.svg">
|
|
{{ hugo.Generator }}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="{{ .Page.Description }}">
|
|
{{ if .IsTranslated }}
|
|
{{ range .Translations }}
|
|
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ $mainjs := resources.Get "/js/main.js" | minify }}
|
|
<script defer src="{{ $mainjs.Permalink }}"></script>
|
|
</head>
|