2021-07-19 20:20:53 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
2021-08-26 21:52:24 +02:00
|
|
|
<title> {{ .Title }} </title>
|
|
|
|
<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>
|