|
|
@ -1,12 +1,12 @@ |
|
|
|
<nav class="main-nav"> |
|
|
|
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} |
|
|
|
{{ if ne $url "" }} |
|
|
|
<a href='{{ .Site.BaseURL }}'> <span class="arrow">←</span>Home</a> |
|
|
|
{{ end }} |
|
|
|
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} |
|
|
|
{{ if ne $url "" }} |
|
|
|
<a href='{{ .Site.BaseURL }}'> <span class="arrow">←</span>{{ with .Site.Params.home }}{{ . }}{{ else }}Home{{ end }}</a> |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
{{ if ne $url "about/" }} |
|
|
|
<a href='{{ .Site.BaseURL }}about'>About</a> |
|
|
|
{{ end }} |
|
|
|
{{ if ne $url "about/" }} |
|
|
|
<a href='{{ .Site.BaseURL }}about'>{{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }}</a> |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
<a class="cta" href="{{ .Site.BaseURL }}index.xml">Subscribe</a> |
|
|
|
<a class="cta" href="{{ .Site.BaseURL }}index.xml">{{ with .Site.Params.subscribe }}{{ . }}{{ else }}Subscribe{{ end }}</a> |
|
|
|
</nav> |