omegamma/layouts/partials/head.html

19 lines
883 B
HTML

<head>
<title>{{ .Site.Title }} - {{ .Title }}</title>
{{ $mainstyle := resources.Get "/scss/main.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $mainstyle.Permalink }}">
{{ if .Site.Params.includeAppsStyle }}
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $appsstyle.Permalink }}">
{{ 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>