This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
geeklabor_legacy/themes/geeklab/layouts/_default/baseof.html

49 lines
1.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2018-12-20 23:11:43 +00:00
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . -}}
<body>
<header>
2020-07-18 20:42:16 +00:00
<div class="archive">
Das ist die archivierte Version des Blogs geeklabor.de. Aktuelle Beiträge findest du unter <a href="https://thegeeklab.de">https://thegeeklab.de</a>
</div>
<div class="site-header">
<span class="site-header__icon"><i class="fas fa-flask"></i></span>
2018-12-20 23:11:43 +00:00
<span class="site-header__title">{{ .Site.Title }}</span>
<span class="site-header__description">{{ .Site.Params.longTitle }}</span>
</div>
2018-10-13 01:32:08 +00:00
<div class="site-nav__mobile">
<span class="site-nav__button" onclick="toogleClass('js-site-nav');">Menu</span>
</div>
2018-10-13 01:32:08 +00:00
<nav id="js-site-nav" class="site-nav">
<ul class="site-nav__list">
{{ $currentPage := .Permalink }}
<li><a class="site-nav__button {{- if eq $currentPage (printf "%s" .Site.BaseURL) }} is-active {{- end }}" href="{{ .Site.BaseURL }}">Blog</a></li>
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
{{ with $.Site.GetPage (printf "/categories/%s" $name) }}
<li><a class="site-nav__button {{ if eq $currentPage .Permalink }} is-active {{ end }}" href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
</nav>
</header>
<div class="site-wrapper">
<main class="site-content">
{{ block "main" . }}{{ end }}
</main>
2018-12-20 23:11:43 +00:00
{{ partial "footer.html" . -}}
</div>
<link rel="stylesheet" type="text/css" href="{{ "default.min.css" | relURL }}" />
<link rel="stylesheet" type="text/css" href="{{ "_tool/fontawesome/css/all.min.css" | relURL }}" />
2018-10-13 01:32:08 +00:00
<script type="text/javascript">
function toogleClass(id) {
document.getElementById(id).classList.toggle("is-visible");
}
</script>
</body>
</html>