This repository has been archived on 2021-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
theme-geeklab/layouts/_default/baseof.html

36 lines
1.3 KiB
HTML
Raw Normal View History

2018-10-09 08:25:05 +02:00
<!DOCTYPE html>
<html lang="de">
{{- partial "head.html" . -}}
<body>
<header class="main">
<div class="banner">
2018-10-09 23:59:17 +02:00
<span class="icon"><i class="fas fa-flask"></i></span>
2018-10-09 08:25:05 +02:00
<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>
2018-10-09 08:25:05 +02:00
</header>
2018-10-09 17:07:43 +02:00
<div id="wrapper">
2018-10-09 08:25:05 +02:00
<div id="content" class="container-centered">
{{ block "main" . }}{{ end }}
</div>
{{- partial "footer.html" . -}}
</div>
2018-10-09 17:07:43 +02:00
2018-10-09 08:25:05 +02:00
<link rel="stylesheet" type="text/css" href="{{ "_css/style.css" | relURL }}" />
2018-10-09 23:59:17 +02:00
<link rel="stylesheet" type="text/css" href="{{ "_tool/fontawesome/css/all.min.css" | relURL }}" />
2018-10-09 08:25:05 +02:00
</body>
</html>