2018-04-23 04:18:37 +02:00
|
|
|
<!DOCTYPE html>
|
2018-04-30 04:01:47 +02:00
|
|
|
<html lang='{{ .Site.Language.Lang }}'>
|
2018-04-23 04:18:37 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2021-08-19 17:35:43 +02:00
|
|
|
<title>{{ .Site.Title }} | {{ .Page.Title }}</title>
|
2018-04-23 04:18:37 +02:00
|
|
|
|
2021-08-19 17:35:43 +02:00
|
|
|
<!-- Include our own css last -->
|
|
|
|
{{ $options := dict "targetPath" "custom.css" "outputStyle" "compressed" }}
|
|
|
|
{{ $style := resources.Get "/sass/custom.css" | resources.ToCSS $options | resources.Fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}"/>
|
2019-09-07 00:48:09 +02:00
|
|
|
|
|
|
|
<meta property="og:type" content="website"/>
|
|
|
|
<meta property="og:site_name" content="{{ .Site.Title }}"/>
|
|
|
|
<meta property="og:title" content="{{ .Title }}"/>
|
|
|
|
<meta property="og:url" content="{{ .Permalink | absURL }}"/>
|
2024-06-16 18:25:46 +02:00
|
|
|
{{ $logoFile := printf "images/ogp/cosin_icon_%s.png" (string .Site.Data.cosin.date_year) }}
|
|
|
|
{{ $logo := "" }}
|
|
|
|
{{ with resources.Get $logoFile }}
|
|
|
|
{{ $logo = . }}
|
|
|
|
{{ else }}
|
|
|
|
{{ $logo = resources.Get "images/ogp/cosin_icon_generic.png" }}
|
|
|
|
{{ end }}
|
|
|
|
<meta property="og:image" content="{{ $logo | absURL }}"/>
|
|
|
|
<meta property="og:image:type" content="{{ $logo.MediaType }}"/>
|
|
|
|
<meta property="og:image:width" content="{{ $logo.Width }}"/>
|
|
|
|
<meta property="og:image:height" content="{{ $logo.Height }}"/>
|
2019-09-07 00:48:09 +02:00
|
|
|
<meta property="og:image:alt" content="CoSin Icon {{ string .Site.Data.cosin.date_year }}"/>
|
|
|
|
|
2018-04-23 04:18:37 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
{{ block "header" . }} {{ partial "site-header.html" . }} {{ end }}
|
|
|
|
{{ block "menu" . }} {{ partial "site-menu.html" . }} {{ end }}
|
|
|
|
|
|
|
|
<div id="content">
|
2018-04-30 04:01:47 +02:00
|
|
|
{{ if eq .Site.Language.Lang "de" }}
|
|
|
|
{{ partial "site-sidebar.de.html" . }}
|
|
|
|
{{ else if eq .Site.Language.Lang "fr" }}
|
|
|
|
{{ partial "site-sidebar.fr.html" . }}
|
|
|
|
{{ else if eq .Site.Language.Lang "it" }}
|
|
|
|
{{ partial "site-sidebar.it.html" . }}
|
|
|
|
{{ else if eq .Site.Language.Lang "en" }}
|
|
|
|
{{ partial "site-sidebar.en.html" . }}
|
2018-04-23 20:46:27 +02:00
|
|
|
{{ end }}
|
2018-04-23 04:18:37 +02:00
|
|
|
{{ block "main" . }} {{ end }}
|
2018-09-01 17:17:51 +02:00
|
|
|
<div id="clear"></div>
|
2018-04-23 04:18:37 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ block "footer" . }} {{ partial "site-footer.html" . }} {{ end }}
|
|
|
|
</body>
|
|
|
|
</html>
|