blob: 58e57a1527be5db326cf4c779f1821388fee2a97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<nav class="site-nav">
<a href="{{ .Site.BaseURL }}">Home</a>
<a href="{{ .Site.BaseURL }}post/">All posts</a>
{{ if eq .Site.Params.SocialLinks true -}}
{{ 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 }}
{{- end }}
</nav>
|