|
|
@ -1,11 +1,10 @@
|
|
|
|
<nav class="navigation">
|
|
|
|
<nav class="navigation">
|
|
|
|
{{ $url := replace .Permalink .Site.BaseURL "" }}
|
|
|
|
|
|
|
|
{{ if not .IsHome }}
|
|
|
|
{{ if not .IsHome }}
|
|
|
|
<a href='{{ .Site.BaseURL }}'> <span class="arrow">←</span>{{ with .Site.Params.home }}{{ . }}{{ else }}Home{{ end }}</a>
|
|
|
|
<a href='/'> <span class="arrow">←</span>{{ with .Site.Params.home }}{{ . }}{{ else }}Home{{ end }}</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
<a href='{{ .Site.BaseURL }}posts'>{{ with .Site.Params.archive }}{{ . }}{{ else }}Archive{{ end }}</a>
|
|
|
|
<a href='/posts'>{{ with .Site.Params.archive }}{{ . }}{{ else }}Archive{{ end }}</a>
|
|
|
|
<a href='{{ .Site.BaseURL }}tags'>{{ with .Site.Params.tags }}{{ . }}{{ else }}Tags{{ end }}</a>
|
|
|
|
<a href='/tags'>{{ with .Site.Params.tags }}{{ . }}{{ else }}Tags{{ end }}</a>
|
|
|
|
<a href='{{ .Site.BaseURL }}about'>{{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }}</a>
|
|
|
|
<a href='/about'>{{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }}</a>
|
|
|
|
|
|
|
|
|
|
|
|
{{ range $element := .Site.Params.Links }}
|
|
|
|
{{ range $element := .Site.Params.Links }}
|
|
|
|
<a href="{{ $element.path }}">{{ $element.name }}</a>
|
|
|
|
<a href="{{ $element.path }}">{{ $element.name }}</a>
|
|
|
|