fix: change / to use base url
This commit is contained in:
parent
81af8c459b
commit
8b2a82a96a
@ -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