Add EH23 #1
4 changed files with 24 additions and 41 deletions
Update theme and adapt our templates
commit
2fe025750d
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/hugomods/hugo:0.152.0
|
image: docker.io/hugomods/hugo:0.156.0
|
||||||
steps:
|
steps:
|
||||||
- name: Pipeline info
|
- name: Pipeline info
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,21 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="nojs" lang="{{ site.LanguageCode | default site.Language.Lang }}" dir="{{ site.Language.LanguageDirection | default "ltr" }}">
|
<html class="nojs" lang="{{ site.Language.LanguageCode | default site.Language.Lang }}" dir="{{ site.Language.LanguageDirection | default "ltr" }}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>{{ block "title" . }}{{ .Title }} – {{ site.Title }}{{ end }}</title>
|
<title>{{ block "title" . }}{{ .Title }} – {{ site.Title }}{{ end }}</title>
|
||||||
{{ partial "meta.html" . }}
|
{{ partial "head/meta.html" . }}
|
||||||
{{ partialCached "styles.html" . }}
|
{{ partialCached "head/favicons.html" . }}
|
||||||
{{ partial "meta_json_ld.html" . }}
|
{{ partialCached "head/styles.html" . }}
|
||||||
{{ partial "scripts.html" . }}
|
{{ partial "head/meta-json-ld.html" . }}
|
||||||
{{ partial "math.html" . }}
|
{{ partial "head/scripts.html" . }}
|
||||||
{{ partialCached "tracking.html" . }}
|
{{ partial "head/math.html" . }}
|
||||||
{{ if templates.Exists "partials/head.html" -}}
|
{{ partialCached "head/tracking.html" . }}
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head/extra.html" . }}
|
||||||
{{ end -}}
|
|
||||||
{{ block "head" . }}{{ end }}
|
{{ block "head" . }}{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}">
|
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with .Section }} section-page--{{ . | urlize }}{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}">
|
||||||
<div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}">
|
<div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}">
|
||||||
<header class="header layout__header">
|
<header class="header layout__header">
|
||||||
{{ if $.Param "logo" | default true -}}
|
{{ if $.Param "logo" | default true -}}
|
||||||
|
|
@ -42,14 +41,7 @@
|
||||||
{{ if $.Param "sidebar" }}{{ partial "sidebar.html" . }}{{ end -}}
|
{{ if $.Param "sidebar" }}{{ partial "sidebar.html" . }}{{ end -}}
|
||||||
|
|
||||||
<footer class="footer layout__footer mt--l">
|
<footer class="footer layout__footer mt--l">
|
||||||
{{ if templates.Exists "partials/footer.html" -}}
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
{{ else -}}
|
|
||||||
{{ if $.Param "feedlinks" }}{{ partial "feedlinks.html" . }}{{ end -}}
|
|
||||||
<p>{{ with $.Param "copyright" }}{{ . | markdownify }}{{ else }}<span>© {{ site.Title }}</span>{{ end }}</p>
|
|
||||||
{{ with $.Param "footer" }}<p>{{ . | markdownify }}</p>{{ end }}
|
|
||||||
{{ if $.Param "poweredby" }}<p>Powered by <a href="https://gohugo.io/">Hugo</a> and the <a href="https://github.com/frjo/hugo-theme-zen">Zen theme</a>.</p>{{ end }}
|
|
||||||
{{ end -}}
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{{ if $.Param "cookieconsent" }}{{ partialCached "cookieconsent.html" . }}{{ end -}}
|
{{ if $.Param "cookieconsent" }}{{ partialCached "cookieconsent.html" . }}{{ end -}}
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,21 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="nojs" lang="{{ site.LanguageCode | default site.Language.Lang }}" dir="{{ site.Language.LanguageDirection | default "ltr" }}">
|
<html class="nojs" lang="{{ site.Language.LanguageCode | default site.Language.Lang }}" dir="{{ site.Language.LanguageDirection | default "ltr" }}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>{{ block "title" . }}{{ .Title }} – {{ site.Title }}{{ end }}</title>
|
<title>{{ block "title" . }}{{ .Title }} – {{ site.Title }}{{ end }}</title>
|
||||||
{{ partial "meta.html" . }}
|
{{ partial "head/meta.html" . }}
|
||||||
{{ partialCached "styles.html" . }}
|
{{ partialCached "head/favicons.html" . }}
|
||||||
{{ partial "meta_json_ld.html" . }}
|
{{ partialCached "head/styles.html" . }}
|
||||||
{{ partial "scripts.html" . }}
|
{{ partial "head/meta-json-ld.html" . }}
|
||||||
{{ partial "math.html" . }}
|
{{ partial "head/scripts.html" . }}
|
||||||
{{ partialCached "tracking.html" . }}
|
{{ partial "head/math.html" . }}
|
||||||
{{ if templates.Exists "partials/head.html" -}}
|
{{ partialCached "head/tracking.html" . }}
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head/extra.html" . }}
|
||||||
{{ end -}}
|
|
||||||
{{ block "head" . }}{{ end }}
|
{{ block "head" . }}{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}">
|
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with .Section }} section-page--{{ . | urlize }}{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}">
|
||||||
<div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}">
|
<div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}">
|
||||||
<header class="header layout__header">
|
<header class="header layout__header">
|
||||||
{{ if $.Param "logo" | default true -}}
|
{{ if $.Param "logo" | default true -}}
|
||||||
|
|
@ -25,11 +24,10 @@
|
||||||
</a>
|
</a>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<div class="header__intro">
|
<div class="header__intro">
|
||||||
<div class="header__intro_headline">{{ .Param "headline" }}</div>
|
<div class="header__intro_headline"><a href="{{ site.Home.RelPermalink }}" title="Home" class="header__site-link" rel="home"><span>{{ site.Title }}</span></a></div>
|
||||||
{{ if .Param "intro" }}
|
|
||||||
<div class="header__intro_text">{{ .Param "intro" }}</div>
|
<div class="header__intro_text">{{ .Param "intro" }}</div>
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="region header__region">
|
<div class="region header__region">
|
||||||
{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end -}}
|
{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end -}}
|
||||||
{{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}}
|
{{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}}
|
||||||
|
|
@ -44,14 +42,7 @@
|
||||||
{{ if $.Param "sidebar" }}{{ partial "sidebar.html" . }}{{ end -}}
|
{{ if $.Param "sidebar" }}{{ partial "sidebar.html" . }}{{ end -}}
|
||||||
|
|
||||||
<footer class="footer layout__footer mt--l">
|
<footer class="footer layout__footer mt--l">
|
||||||
{{ if templates.Exists "partials/footer.html" -}}
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
{{ else -}}
|
|
||||||
{{ if $.Param "feedlinks" }}{{ partial "feedlinks.html" . }}{{ end -}}
|
|
||||||
<p>{{ with $.Param "copyright" }}{{ . | markdownify }}{{ else }}<span>© {{ site.Title }}</span>{{ end }}</p>
|
|
||||||
{{ with $.Param "footer" }}<p>{{ . | markdownify }}</p>{{ end }}
|
|
||||||
{{ if $.Param "poweredby" }}<p>Powered by <a href="https://gohugo.io/">Hugo</a> and the <a href="https://github.com/frjo/hugo-theme-zen">Zen theme</a>.</p>{{ end }}
|
|
||||||
{{ end -}}
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{{ if $.Param "cookieconsent" }}{{ partialCached "cookieconsent.html" . }}{{ end -}}
|
{{ if $.Param "cookieconsent" }}{{ partialCached "cookieconsent.html" . }}{{ end -}}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 758538798508998744cecead44f2c8e48e116e2e
|
Subproject commit 8e611f3a64836c64a41b46c03abcc4b7aa5d4f14
|
||||||
Loading…
Add table
Add a link
Reference in a new issue