omegamma/layouts/partials/head.html
Ad5001 737e3a27bc
Various optimisations, now spreadsheets are loaded asynchronously.
+ adding stackoverflow icon
+ adding omegicons fontellico config.json for easier building next time.
2021-08-02 23:18:27 +02:00

24 lines
1.5 KiB
HTML

<head>
<title>{{ .Site.Title }} - {{ .Title }}</title>
<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/omegicons/omegicons.eot?54316140">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.woff2?54316140">
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.ttf?54316140">
{{ $mainstyle := resources.Get "/scss/main.scss" | toCSS | minify | fingerprint }}
<link rel="preload" href="{{ $mainstyle.Permalink }}" as="style" onload="this.rel='stylesheet'">
{{ if .Site.Params.includeAppsStyle }}
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS | minify | fingerprint }}
<link rel="preload" href="{{ $appsstyle.Permalink }}" as="style" onload="this.rel='stylesheet'">
{{ end }}
<link rel="icon" href="/img/icon.png">
{{ 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 }}
<script src="/js/header.js" async></script>
</head>