feat: Applies 40c3 style to website
Some checks failed
/ build (pull_request) Has been cancelled
/ accessibility (pull_request) Has been cancelled

This commit is contained in:
Vincent Mahnke 2026-11-07 10:34:09 +01:00
commit d3fc831bc5
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -20,23 +20,26 @@
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with .Section }} section-page--{{ . | urlize }}{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}">
<a class="skip-link visually-hidden" href="#main-content">{{ i18n "skip_to_content" }}</a>
<div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}">
{{ $home := site.Home -}}
<header class="header layout__header">
{{ if $.Param "logo" | default true -}}
<a href="{{ site.Home.RelPermalink }}" rel="home" class="header__logo">
<img src="{{ with $.Param "logopath" }}{{ . | relURL }}{{ else }}{{ "images/logo.png" | relURL }}{{ end }}"{{ with $.Param "logowidth" }} width="{{ . }}"{{ end }}{{ with $.Param "logoheight" }} height="{{ . }}"{{ end }} alt="{{ i18n "logo_alt" }}" class="header__logo-image">
{{ if $home.Param "logo" | default true -}}
<a href="{{ $home.RelPermalink }}" rel="home" class="header__logo">
<img src="{{ with $home.Param "logopath" }}{{ . | relURL }}{{ else }}{{ "images/logo.png" | relURL }}{{ end }}"{{ with $home.Param "logowidth" }} width="{{ . }}"{{ end }}{{ with $home.Param "logoheight" }} height="{{ . }}"{{ end }} alt="{{ i18n "logo_alt" }}" class="header__logo-image">
</a>
{{ end -}}
<div class="header__intro">
<div class="header__intro_headline"><a href="{{ site.Home.RelPermalink }}" class="header__site-link" rel="home"><span>{{ site.Title }}</span></a></div>
<div class="header__intro_text">{{ .Param "intro" }}</div>
</div>
<div class="region header__region">
{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end -}}
{{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}}
{{ if .IsHome }}
<h1 class="header__intro_headline">{{ site.Title }}</h1>
{{ else }}
<div class="header__intro_headline"><a href="{{ $home.RelPermalink }}" class="header__site-link" rel="home">{{ site.Title }}</a></div>
{{ end }}
{{ with $home.Param "intro" }}
<div class="header__intro_text">{{ . }}</div>
{{ end }}
</div>
</header>
{{ if not ($.Param "menuinheader") }}{{ partial "menu.html" . }}{{ end -}}
{{ partial "menu.html" . }}
{{ if $.Param "mobilemenu" }}{{ partial "mobilemenu.html" . }}{{ end -}}
<div id="main-content" tabindex="-1"></div>