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: c60e4c9dc276d209ef6ff7b56c3adb8de8b69ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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="https://github.com/{{ .Site.Params.githubusername }}">GitHub</a>
  {{- end }}

  {{ if isset .Site.Params "linkedinusername" }}
  <a href="https://www.linkedin.com/in/{{ .Site.Params.linkedinusername }}">LinkedIn</a>
  {{- end }}
</nav>