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

page_header.html « partials « layouts - github.com/jnjosh/internet-weblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a8038a538b48d63dab47b50afbbf35fc4da52845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<header>
  <nav>
    <h1><a href="/">@{{ .Site.Author.handle }}</a>’s {{ .Site.Title }}.</h1>
    <div class="menu">
      {{ $.Scratch.Add "sections" .Site.Params.rsssections }}
      <ul>
        {{ range .Site.Menus.main }}
            <li>
              <a href="{{ .URL }}">{{ .Name }}</a>
              {{ if in ($.Scratch.Get "sections") .Name }}
                <a href="{{ .URL }}index.xml"><img src="/img/rss.svg" class="rss-icon" /></a>
              {{ end }}
            </li>
        {{ end }}
        {{ with .Site.Author.aboutpage }}<li><a href="{{ . }}">About</a></li>{{ end }}
      </ul>
    </div>
  </nav>
</header>