2021-06-08 14:19:46 +00:00
|
|
|
<head>
|
2021-06-08 16:18:22 +00:00
|
|
|
<title>{{ .Site.Title }} - {{ .Title }}</title>
|
2021-08-08 23:07:03 +00:00
|
|
|
<meta charset="UTF-8">
|
2021-07-16 22:36:59 +00:00
|
|
|
<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">
|
2021-08-03 12:59:16 +00:00
|
|
|
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/metropolis/Metropolis-Bold.otf">
|
2021-09-27 19:33:08 +00:00
|
|
|
<link rel="preload" as="font" crossOrigin="anonymous" href="/fonts/omegicons/omegicons.woff2?51725251">
|
2021-08-08 19:29:20 +00:00
|
|
|
{{ $mainstyle := resources.Get "/scss/main.scss" | toCSS }}
|
2021-07-13 22:18:53 +00:00
|
|
|
{{ if .Site.Params.includeAppsStyle }}
|
2021-08-08 23:07:03 +00:00
|
|
|
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS }}
|
|
|
|
{{ $style := slice $mainstyle $appsstyle | resources.Concat "css/bundle.css" | minify }}
|
2021-08-09 13:56:39 +00:00
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
2021-08-08 19:29:20 +00:00
|
|
|
{{ else }}
|
2021-08-08 23:07:03 +00:00
|
|
|
{{ $style := $mainstyle | minify }}
|
2021-08-09 13:56:39 +00:00
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
2021-07-13 22:18:53 +00:00
|
|
|
{{ end }}
|
2021-08-08 19:29:20 +00:00
|
|
|
{{ $printstyle := resources.Get "/scss/print.scss" | toCSS | minify }}
|
|
|
|
<link rel="stylesheet" href="{{ $printstyle.Permalink }}" media="print">
|
2021-09-30 13:41:21 +00:00
|
|
|
<link rel="icon" href="/img/logo.svg" type="image/svg+xml">
|
|
|
|
<link rel="alternate icon" href="/img/logo.png" type="image/png">
|
2021-06-08 16:18:22 +00:00
|
|
|
{{ hugo.Generator }}
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2021-09-30 13:41:21 +00:00
|
|
|
<meta name="author" content="Ad5001">
|
2021-07-13 22:18:53 +00:00
|
|
|
<meta name="description" content="{{ .Page.Description }}">
|
2021-09-30 13:41:21 +00:00
|
|
|
<meta name="keywords" content="ad5001,programing{{ if .Params.Tags }},{{ .Params.Tags }}{{ end }}">
|
|
|
|
<meta name="theme-color" content="#50DC71">
|
|
|
|
<!-- Twitter cards -->
|
|
|
|
<meta name="twitter:card" content="summary">
|
|
|
|
<meta name="twitter:site" content="@Ad5001P4F">
|
|
|
|
<meta name="twitter:description" content="{{ .Page.Description }}">
|
|
|
|
<meta name="twitter:title" content="{{ .Site.Title }} - {{ .Title }}">
|
|
|
|
<meta name="twitter:image" content="{{ if .Params.HeaderImage }}{{ .Site.BaseURL }}{{ .Params.HeaderImage }}{{ else }}https://ad5001.eu/img/logo.png{{ end }}">
|
|
|
|
<!-- open graph -->
|
|
|
|
<meta property="og:title" content="{{ .Site.Title }} - {{ .Title }}">
|
|
|
|
<meta property="og:site_name" content="Ad5001">
|
|
|
|
<meta property="og:url" content="{{ .Permalink }}">
|
|
|
|
<meta property="og:locale" content="{{ .Site.Language.Lang }}">
|
|
|
|
<meta property="og:description" content="{{ .Description }}">
|
|
|
|
<meta property="og:type" content="website">
|
|
|
|
<meta property="og:image" content="{{ if .Params.HeaderImage }}{{ .Site.BaseURL }}{{ .Params.HeaderImage }}{{ else }}https://ad5001.eu/img/logo.png{{ end }}">
|
2021-06-09 18:00:57 +00:00
|
|
|
{{ if .IsTranslated }}
|
2021-07-13 22:18:53 +00:00
|
|
|
{{ range .Translations }}
|
2021-09-30 13:41:21 +00:00
|
|
|
<meta property="og:locale:alternate" content="{{ .Language.Lang }}">
|
2021-07-13 22:18:53 +00:00
|
|
|
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
|
|
|
{{ end }}
|
2021-06-09 18:00:57 +00:00
|
|
|
{{ end }}
|
2021-08-03 12:59:16 +00:00
|
|
|
{{ $mainjs := resources.Get "/js/main.js" | minify }}
|
2021-08-06 20:27:38 +00:00
|
|
|
<script defer src="{{ $mainjs.Permalink }}"></script>
|
2021-06-08 14:19:46 +00:00
|
|
|
</head>
|