36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
{{- partial "head.html" . -}}
|
|
<body>
|
|
<header class="main">
|
|
<div class="banner">
|
|
<span class="icon"><i class="fas fa-flask"></i></span>
|
|
<span class="title">Geeklabor</span>
|
|
<span class="underline">Linux und Open Source Blog</span>
|
|
</div>
|
|
<div class="mobile" onclick="toogleClass('default-menu');"><span>Menu</span></div>
|
|
<nav id="default-menu" class="default">
|
|
<ul id="all-tags">
|
|
{{ $currentPage := .Permalink }}
|
|
<li><a {{ if eq $currentPage (printf "%s" .Site.BaseURL) }}class="active"{{ end }} href="{{ .Site.BaseURL }}">Blog</a></li>
|
|
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
|
|
{{ with $.Site.GetPage (printf "/categories/%s" $name) }}
|
|
<li><a {{ if eq $currentPage .Permalink }}class="active"{{ end }} href="{{ .Permalink }}">{{ $name }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<div id="wrapper">
|
|
<div id="content" class="container-centered">
|
|
{{ block "main" . }}{{ end }}
|
|
</div>
|
|
{{- partial "footer.html" . -}}
|
|
</div>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ "_css/style.css" | relURL }}" />
|
|
<link rel="stylesheet" type="text/css" href="{{ "_tool/fontawesome/css/all.min.css" | relURL }}" />
|
|
</body>
|
|
</html>
|