2016-09-01 16:37:27 +02:00
|
|
|
<!DOCTYPE html>
|
2016-10-04 10:22:53 +02:00
|
|
|
<html lang="{{ .Lang }}">
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2016-11-24 13:39:39 +01:00
|
|
|
<head>
|
2016-09-26 08:23:13 +02:00
|
|
|
{{ partial "head-meta.html" . }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2017-01-20 14:56:33 +01:00
|
|
|
{{ block "schema-dot-org" . }}
|
|
|
|
<!-- schema.org metadata differs for Nodes and Pages -->
|
|
|
|
{{ end }}
|
|
|
|
|
2016-09-01 16:37:27 +02:00
|
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
|
|
|
|
|
|
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
|
|
|
|
|
|
|
{{ "<!-- combined, minified CSS -->" | safeHTML }}
|
2017-04-12 20:38:10 +02:00
|
|
|
<link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet"{{ if not .Site.Params.disable_sri }} integrity="{{ .Site.Data.sri.style}}" crossorigin="anonymous"{{ end }}>
|
2016-09-19 09:00:28 +02:00
|
|
|
|
2016-11-17 09:12:17 +01:00
|
|
|
{{ if .RSSLink }}
|
2016-11-09 14:42:39 +01:00
|
|
|
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
|
2016-11-17 09:12:17 +01:00
|
|
|
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
2016-11-09 14:39:23 +01:00
|
|
|
{{ end }}
|
2016-10-15 04:10:01 +02:00
|
|
|
|
|
|
|
{{ template "_internal/google_analytics_async.html" . }}
|
2016-11-13 13:13:17 +01:00
|
|
|
|
|
|
|
{{ if .Site.Params.cookie_consent_info_url }}
|
|
|
|
{{ partial "cookie-consent.html" . }}
|
|
|
|
{{ end }}
|
2016-11-22 20:11:50 +01:00
|
|
|
|
|
|
|
{{ partial "head-custom.html" . }}
|
2016-09-01 16:37:27 +02:00
|
|
|
</head>
|
|
|
|
|
2016-11-24 13:39:39 +01:00
|
|
|
<body>
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ block "masthead" . }}
|
2016-11-24 13:39:39 +01:00
|
|
|
<div class="blog-masthead">
|
|
|
|
<div class="container">
|
|
|
|
<nav class="nav blog-nav">
|
|
|
|
<a class="nav-link {{ if .IsHome }}active{{ end }}" href="{{ .Site.BaseURL | absLangURL }}">{{ i18n "home" }}</a>
|
2017-04-04 11:21:52 +02:00
|
|
|
{{- $currentURL := .URL | absLangURL -}}
|
2016-11-24 13:39:39 +01:00
|
|
|
{{ if .Site.Params.custom_navbar }}
|
2016-11-17 11:04:14 +01:00
|
|
|
{{ range .Site.Menus.navbar }}
|
2017-04-04 11:03:07 +02:00
|
|
|
{{ $menuURL := .URL | absLangURL }}
|
2017-04-04 11:21:52 +02:00
|
|
|
<a class="nav-link{{ if eq $menuURL $currentURL }} active{{ end }}" href="{{.URL | absURL }}">{{ .Name }}</a>
|
2017-04-04 10:54:30 +02:00
|
|
|
{{ end }}
|
2016-11-24 13:39:39 +01:00
|
|
|
{{ else }}
|
2016-12-25 16:56:24 +01:00
|
|
|
{{ range where .Site.RegularPages "Type" "!=" "post" }}
|
2017-04-04 11:03:07 +02:00
|
|
|
{{ $permalinkURL := .Permalink | absLangURL }}
|
2017-04-04 11:21:52 +02:00
|
|
|
<a class="nav-link{{ if eq $permalinkURL $currentURL }} active{{ end }}" href="{{ .Permalink }}">{{ .Title }}</a>
|
2016-11-17 11:04:14 +01:00
|
|
|
{{ end }}
|
2016-11-24 13:39:39 +01:00
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
</div>
|
2016-09-01 16:37:27 +02:00
|
|
|
</div>
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ end }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ block "header" . }}
|
2016-11-24 13:39:39 +01:00
|
|
|
<header class="blog-header">
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="blog-title"><a href="{{ .Site.BaseURL }}" rel="home">{{ .Site.Title | safeHTML }}</a></h1>
|
|
|
|
{{ if .Site.Params.description }}<p class="lead blog-description">{{ .Site.Params.description | markdownify }}</p>{{ end }}
|
|
|
|
</div>
|
|
|
|
</header>
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ end }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ block "body" . }}
|
2016-11-24 13:39:39 +01:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-8 blog-main">
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2016-11-24 13:39:39 +01:00
|
|
|
{{ block "main" . }}
|
|
|
|
<!-- The part of the page that begins to differ between templates -->
|
|
|
|
{{ end }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2016-11-24 13:39:39 +01:00
|
|
|
</div> {{ "<!-- /.blog-main -->" | safeHTML }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2016-11-24 13:39:39 +01:00
|
|
|
{{ partial "sidebar.html" . }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2016-11-24 13:39:39 +01:00
|
|
|
</div> {{ "<!-- /.row -->" | safeHTML }}
|
|
|
|
</div> {{ "<!-- /.container -->" | safeHTML }}
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ end }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ block "footer" . }}
|
2016-11-24 13:39:39 +01:00
|
|
|
<footer class="blog-footer">
|
|
|
|
<p>
|
2016-10-09 12:36:07 +02:00
|
|
|
{{ if .Site.Copyright }}
|
|
|
|
{{ .Site.Copyright | markdownify }}
|
|
|
|
{{ else }}
|
2016-10-09 12:38:49 +02:00
|
|
|
Blog template created by <a href="https://twitter.com/mdo">@mdo</a>, ported to Hugo by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
|
2016-10-09 12:36:07 +02:00
|
|
|
{{ end }}
|
2016-11-24 13:39:39 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-01-05 14:23:09 +01:00
|
|
|
<a href="#">{{ i18n "backToTop" }}</a>
|
2016-11-24 13:39:39 +01:00
|
|
|
</p>
|
|
|
|
</footer>
|
2018-01-02 22:51:28 +01:00
|
|
|
{{ end }}
|
2016-09-01 16:37:27 +02:00
|
|
|
|
2016-11-24 13:39:39 +01:00
|
|
|
</body>
|
2016-09-01 16:37:27 +02:00
|
|
|
|
|
|
|
</html>
|
2016-11-24 13:33:56 +01:00
|
|
|
|
|
|
|
{{- /* vim: set ts=2 sw=2 et: */}}
|