2018-01-04 21:15:06 +01:00
|
|
|
<!DOCTYPE html>
|
2018-01-13 18:57:20 +01:00
|
|
|
<html lang="{{ .Site.Params.languageCode | default " en-us " }}" {{- if not .IsHome }}class="has-navbar-fixed-top" {{- end }}>
|
2018-01-04 21:15:06 +01:00
|
|
|
|
|
|
|
<head>
|
2018-01-05 00:11:00 +01:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
|
|
|
|
<meta name="theme-color" content="#404040">
|
2018-01-20 05:10:16 +01:00
|
|
|
|
2018-01-05 00:11:00 +01:00
|
|
|
<meta property="og:title" content="{{ if ne .URL " / " }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
|
|
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
2018-01-20 05:10:16 +01:00
|
|
|
<meta property="og:url" content="{{ .Permalink }}" />
|
2018-05-11 05:05:09 +02:00
|
|
|
{{ .Render "meta" }}
|
2018-01-05 00:11:00 +01:00
|
|
|
|
|
|
|
<link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico" />
|
|
|
|
<link rel="shortcut icon" href="{{ .Site.BaseURL }}/favicon.ico" type="image/x-icon" />
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}"> {{ if .RSSLink }}
|
|
|
|
<link href="{{ .Site.BaseURL }}/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
|
|
|
<link href="{{ .Site.BaseURL }}/index.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ end }}
|
|
|
|
|
|
|
|
<title>{{- if not .IsHome }}{{ .Title }} - {{ .Site.Title }}{{- else }}{{ .Site.Title }} - {{ .Site.Params.Tagline }}{{- end}}</title>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Ubuntu|Dosis" rel="stylesheet">
|
2018-01-05 15:54:19 +01:00
|
|
|
<link href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" rel="stylesheet">
|
2021-10-25 11:01:56 +02:00
|
|
|
{{ $stylesheet := resources.Get "scss/style.scss" | toCSS | minify }}
|
|
|
|
<link rel="stylesheet" href="{{ $stylesheet.Permalink }}" />
|
2018-07-09 13:25:52 +02:00
|
|
|
{{- block "css" . }}{{- end }}
|
|
|
|
|
2018-01-13 19:16:41 +01:00
|
|
|
{{ if eq (getenv "HUGO_ENV") "PRD" }}
|
|
|
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
2018-01-13 19:39:29 +01:00
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.GoogleAnalyticsTrackingId }}"></script>
|
2018-01-13 19:16:41 +01:00
|
|
|
|
|
|
|
<!-- Google Analytics -->
|
|
|
|
<script type="text/javascript">
|
|
|
|
window.dataLayer = window.dataLayer || [];
|
|
|
|
function gtag() { dataLayer.push(arguments); }
|
|
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', '{{ .Site.Params.GoogleAnalyticsTrackingId }}');
|
|
|
|
</script>
|
|
|
|
<!-- End Google Analytics -->
|
|
|
|
{{ else }}
|
|
|
|
<meta name="robots" content="noindex,nofollow" />
|
|
|
|
{{ end }}
|
2018-01-04 21:15:06 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2018-01-20 05:10:16 +01:00
|
|
|
{{- if not .IsHome }}
|
|
|
|
{{ partial "layout/navbar" . }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ .Render "header" }}
|
2018-07-09 13:25:52 +02:00
|
|
|
|
2018-04-14 08:08:43 +02:00
|
|
|
{{ block "header" . }}{{ end }}
|
|
|
|
|
|
|
|
{{ $full_width := .Params.FullWidth | default false }}
|
2018-11-10 07:03:59 +01:00
|
|
|
{{ $left_sidebar := .Params.left_sidebar | default false }}
|
2018-04-26 04:55:34 +02:00
|
|
|
{{- if .IsHome }}
|
2018-04-14 22:19:56 +02:00
|
|
|
<div class="container">
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ else if eq $full_width true }}
|
2018-04-14 08:08:43 +02:00
|
|
|
<div class="container">
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</div>
|
2018-11-10 07:03:59 +01:00
|
|
|
{{ else if eq $left_sidebar true }}
|
|
|
|
<div class="container">
|
2021-06-11 10:22:04 +02:00
|
|
|
<div class="columns is-centered">
|
|
|
|
<div class="column is-four-fifths">
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</div>
|
2021-06-12 23:41:14 +02:00
|
|
|
<div class="column">
|
|
|
|
{{ block "sidebar" . }}{{ end }}
|
|
|
|
{{ partial "layout/sidebar" }}
|
|
|
|
</div>
|
2021-06-11 09:23:44 +02:00
|
|
|
</div>
|
|
|
|
<div class="column">
|
2021-06-12 23:41:14 +02:00
|
|
|
{{ block "btm_bar" . }}{{ end }}
|
|
|
|
{{ partial "layout/btm_bar" }}
|
2018-11-10 07:03:59 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-14 08:08:43 +02:00
|
|
|
{{ else }}
|
|
|
|
<div class="container">
|
2021-06-11 10:22:04 +02:00
|
|
|
<div class="columns is-centered">
|
|
|
|
<div class="column is-four-fifths">
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</div>
|
2021-06-12 23:41:14 +02:00
|
|
|
<div class="column">
|
|
|
|
{{ block "sidebar" . }}{{ end }}
|
|
|
|
{{ partial "layout/sidebar" }}
|
|
|
|
</div>
|
2021-06-11 09:23:44 +02:00
|
|
|
</div>
|
|
|
|
<div class="column">
|
2021-06-12 23:41:14 +02:00
|
|
|
{{ block "btm_bar" . }}{{ end }}
|
|
|
|
{{ partial "layout/btm_bar" }}
|
2018-04-14 08:08:43 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-01-05 00:11:00 +01:00
|
|
|
|
2018-01-09 02:53:56 +01:00
|
|
|
<div class="container">
|
2018-01-13 04:58:13 +01:00
|
|
|
<footer class="footer">
|
2018-04-14 22:19:56 +02:00
|
|
|
{{ partial "layout/footerContents" . }}
|
2018-01-13 04:58:13 +01:00
|
|
|
</footer>
|
|
|
|
</div>
|
2018-01-05 00:11:00 +01:00
|
|
|
|
|
|
|
<script src="{{ .Site.BaseURL }}/js/script.js"></script>
|
2018-01-20 05:10:16 +01:00
|
|
|
{{- block "scripts" . }}{{- end }}
|
2018-01-13 07:02:12 +01:00
|
|
|
|
2018-01-13 19:16:41 +01:00
|
|
|
{{- if eq (getenv "HUGO_ENV") "PRD" }}
|
2018-01-13 07:02:12 +01:00
|
|
|
<script type="text/javascript">
|
2021-06-13 06:52:05 +02:00
|
|
|
for (var i = 0; i < document.getElementsByClassName('adsbygoogle').length; i++) {
|
|
|
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
|
|
}
|
2018-01-13 07:02:12 +01:00
|
|
|
</script>
|
2018-01-13 18:57:20 +01:00
|
|
|
{{- end }}
|
2018-01-04 21:15:06 +01:00
|
|
|
</body>
|
|
|
|
|
2018-07-09 13:25:52 +02:00
|
|
|
</html>
|