Welcome to mirror list, hosted at ThFree Co, Russian Federation.

header.html « partials « layouts - github.com/seanlane/gochowdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9b11f39683fa32e136a10f7f7f66fcafb66f8ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<nav class="navigation pure-g">
	{{ if .Site.Params.showNavTitle }}
	<section class="pure-u-1 pure-u-md-1-2 nav-left">
    <h1 class="nav-title title-shadow white">{{ .Site.Title }}</h1>
  </section>
  <section class="pure-u-1 pure-u-md-1-2 nav-right">
    {{ with .Site.Menus.main}}
      {{ range . }}
        <a href="{{ .URL | relLangURL }}">{{ .Name }}</a>
      {{ end }}
    {{ end }}
  </section>
  {{ else }}
  <section class="pure-u-1 nav-right">
    {{ with .Site.Menus.main}}
      {{ range . }}
        <a href="{{ .URL | relLangURL }}">{{ .Name }}</a>
      {{ end }}
    {{ end }}
  </section>
  {{ end }}
</nav>