fix: change / to use base url

This commit is contained in:
Jacky Zhao 2022-07-13 22:27:13 -07:00
parent 81af8c459b
commit 8b2a82a96a

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> <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>