You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
503 B
12 lines
503 B
<nav class="main-nav">
|
|
<!-- TODO: Show link only if current page is NOT home -->
|
|
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
|
{{ if ne $url "" }}
|
|
<a href='{{ .Site.BaseURL }}'> <span class="arrow">←</span>Home</a>
|
|
{{ end }}
|
|
|
|
<!-- TODO: If .PermaLink == /about then don't show this link -->
|
|
<a href='{{ .Site.BaseURL }}about'>About</a>
|
|
<!-- TODO: Add link to RSS feed -->
|
|
<a class="cta" href="{{ .Site.BaseURL }}feed.xml">Subscribe</a>
|
|
</nav>
|