tech-ingolf-wagner-de/layouts/_default/baseof.html

31 lines
873 B
HTML
Raw Normal View History

2021-09-05 15:08:40 +02:00
<html lang="en">
2021-07-19 20:20:53 +02:00
<head>
2021-08-26 21:52:24 +02:00
<title> {{ .Title }} </title>
2021-09-05 15:08:40 +02:00
{{/* needed for responsive design */}}
2021-09-05 14:18:54 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2021-09-05 15:08:40 +02:00
<meta charset="UTF-8">
<meta name="author" content="Ingolf Wagner">
2021-08-26 21:52:24 +02:00
<link href="https://fonts.googleapis.com/css?family=Roboto|Abel|Inconsolata|Lato|Zilla+Slab" rel="stylesheet">
<link rel="stylesheet" href="/css/main.css">
2021-07-19 20:20:53 +02:00
</head>
<body>
<nav id="main-navigation">
2021-08-26 21:52:24 +02:00
<ul id="patterns-list">
{{ $current := . }}
{{ range .Site.Menus.main }}
{{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }}
<li {{if $active}}class="active" {{end}}>
<a href="{{ .URL }}" title="{{ .Title }}"> {{ .Name }} </a>
</li>
{{ end }}
</ul>
2021-07-19 20:20:53 +02:00
</nav>
2021-08-25 20:06:33 +02:00
{{ block "main" . }}
empty
{{ end }}
2021-07-19 20:20:53 +02:00
</body>
2021-08-29 19:23:45 +02:00
</html>