Merge pull request #19 from joshleeb/master

Fix duplicate about nav link naming for tags
feature/cover-image
Hang Jiang 7 years ago committed by GitHub
commit 2f006c6690

@ -48,6 +48,7 @@ hasCJKLanguage = true
about = "" about = ""
archive = "" archive = ""
subscribe = "" subscribe = ""
tags = ""
# Pagination links # Pagination links
olderPosts = "" olderPosts = ""
newerPosts = "" newerPosts = ""

@ -4,7 +4,7 @@
<a href='{{ .Site.BaseURL }}'> <span class="arrow"></span>{{ with .Site.Params.home }}{{ . }}{{ else }}Home{{ end }}</a> <a href='{{ .Site.BaseURL }}'> <span class="arrow"></span>{{ with .Site.Params.home }}{{ . }}{{ else }}Home{{ end }}</a>
{{ end }} {{ end }}
<a href='{{ .Site.BaseURL }}post'>{{ with .Site.Params.archive }}{{ . }}{{ else }}Archive{{ end }}</a> <a href='{{ .Site.BaseURL }}post'>{{ with .Site.Params.archive }}{{ . }}{{ else }}Archive{{ end }}</a>
<a href='{{ .Site.BaseURL }}tags'>{{ with .Site.Params.about }}{{ . }}{{ else }}Tags{{ end }}</a> <a href='{{ .Site.BaseURL }}tags'>{{ with .Site.Params.tags }}{{ . }}{{ else }}Tags{{ end }}</a>
<a href='{{ .Site.BaseURL }}about'>{{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }}</a> <a href='{{ .Site.BaseURL }}about'>{{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }}</a>
{{ range $key, $val := .Site.Params.Links }} {{ range $key, $val := .Site.Params.Links }}

Loading…
Cancel
Save