fix: change / to use base url

This commit is contained in:
Jacky Zhao 2022-07-13 22:27:13 -07:00
parent 5a784fc8f4
commit e235f00fd1

View File

@ -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>
<ul>
{{ if not .IsHome }}
<li><a href="/">Home</a></li>
<li><a href="{{ $.Site.BaseURL}}">Home</a></li>
{{end}}
{{- range $.Site.Data.config.links -}}
<li><a href="{{.link}}">{{.link_name}}</a></li>