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

nav.html « partials « layouts - github.com/damiencaselli/paperback.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 54d0ee449ff049058497ab7f28cd63e7582d5279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<nav class="site-nav">
  <a href="{{ .Site.BaseURL }}">Home</a>
  <a href="{{ .Site.BaseURL }}post/">All posts</a>

  {{ if isset .Site.Params "twitterusername" }}
  <a href="https://twitter.com/{{ .Site.Params.twitterusername }}">Twitter</a>
  {{- end }}

  {{ if isset .Site.Params "githubusername" }}
  <a href="http://github.com/{{ .Site.Params.githubusername }}">GitHub</a>
  {{- end }}

</nav>