blob: 372220f011ce1cb58c58f821fc5137cc876f3b52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<div class="nav">
<h3 class="nav-title">Menu</h3>
<a href="#" class="nav-close">
<span class="hidden">Close</span>
</a>
<ul>
{{ $currentNode := . }}
{{ range .Site.Menus.main }}
{{.Pre}}
<li class="nav-opened{{if $currentNode.IsMenuCurrent "main" . }} nav-current{{end}}" role="presentation">
<a href="{{.URL}}">{{.Name}}</a>
</li>
{{end}}
</ul>
{{ if .Site.Params.RSSLink}}
<a class="subscribe-button icon-feed" href="{{.Site.Params.RSSLink }}">Subscribe</a> </div>
{{else}}
<a class="subscribe-button icon-feed" href="{{if .IsNode}}{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}{{else}}{{ .Site.BaseURL }}index.xml{{end}}">Subscribe</a>
{{end}}
</div>
<span class="nav-cover"></span>
|