initial commit
This commit is contained in:
commit
8ae4ae106c
17 changed files with 623 additions and 0 deletions
9
layouts/partials/header.html
Normal file
9
layouts/partials/header.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue