fix: change / to use base url
This commit is contained in:
parent
5a784fc8f4
commit
e235f00fd1
@ -4,7 +4,7 @@
|
|||||||
<p>Made by {{ $.Site.Data.config.name }} using <a href="https://github.com/jackyzha0/quartz">Quartz</a>, © {{ dateFormat "2006" now }}</p>
|
<p>Made by {{ $.Site.Data.config.name }} using <a href="https://github.com/jackyzha0/quartz">Quartz</a>, © {{ dateFormat "2006" now }}</p>
|
||||||
<ul>
|
<ul>
|
||||||
{{ if not .IsHome }}
|
{{ if not .IsHome }}
|
||||||
<li><a href="/">Home</a></li>
|
<li><a href="{{ $.Site.BaseURL}}">Home</a></li>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{- range $.Site.Data.config.links -}}
|
{{- range $.Site.Data.config.links -}}
|
||||||
<li><a href="{{.link}}">{{.link_name}}</a></li>
|
<li><a href="{{.link}}">{{.link_name}}</a></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user