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: 68b95711d0dce2502cc46a6b356fbf0cc9446c8e (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>