initial commit

This commit is contained in:
Dmitry Kolosov 2020-01-12 09:51:51 +03:00
commit 8ae4ae106c
17 changed files with 623 additions and 0 deletions

View file

@ -0,0 +1,9 @@
<h1>
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</h1>
<nav>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<a class="{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{end}}" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
{{ end }}
</nav>