29 lines
630 B
HTML
29 lines
630 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<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">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<nav id="main-navigation">
|
||
|
<ul>
|
||
|
{{ $currentPage := . }}
|
||
|
{{ range .Site.Menus.main }}
|
||
|
<li class="{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{end}}">
|
||
|
<a href="{{ .URL }}" title="{{ .Title }}"> {{ .Name }} </a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</nav>
|
||
|
|
||
|
<div id="main-block">
|
||
|
{{ block "main" . }}
|
||
|
empty
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|