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: 8cf9db01103af1222b03c8f4d1716e86864e1b91 (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>