Contact form test
This commit is contained in:
parent
856a8e096b
commit
85affb9fd1
7 changed files with 196 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
<nav>
|
||||
<ul class="first">
|
||||
{{ $currentNode := . }}
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .) }}
|
||||
{{ if false }}
|
||||
<li><a class="selected">{{ .Name }}</a>
|
||||
{{ else }}
|
||||
<li><a href="{{.URL}}">{{ .Name }}</a>
|
||||
|
@ -10,7 +10,7 @@
|
|||
{{ if .HasChildren }}
|
||||
<ul class="second">
|
||||
{{ range .Children }}
|
||||
<li><a href="{{.URL}}">{{ .Name }}{{ if .HasChildren }} »{{ end }}</a>
|
||||
<li><a href="{{.URL}}">{{ .Name }}</a>
|
||||
{{ if .HasChildren }}
|
||||
<ul class="third">
|
||||
{{ range .Children }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue