Change base url based on the environment:
``` --- a/layouts/partials/sections-definition.html +++ b/layouts/partials/sections-definition.html @@ -1,3 +1,3 @@ - <li><a href="https://blog.kazu634.com/labs/">Labs</a></li> - <li><a href="https://blog.kazu634.com/quotes/">Quotes</a></li> - <li><a href="https://blog.kazu634.com/travel/">Travel</a></li> + <li><a href="{{ .Site.BaseURL }}/labs/">Labs</a></li> + <li><a href="{{ .Site.BaseURL }}/quotes/">Quotes</a></li> + <li><a href="{{ .Site.BaseURL }}/travel/">Travel</a></li> ```
This commit is contained in:
parent
d24089860d
commit
5ec3b74ae9
|
@ -1,3 +1,3 @@
|
||||||
<li><a href="https://blog.kazu634.com/labs/">Labs</a></li>
|
<li><a href="{{ .Site.BaseURL }}/labs/">Labs</a></li>
|
||||||
<li><a href="https://blog.kazu634.com/quotes/">Quotes</a></li>
|
<li><a href="{{ .Site.BaseURL }}/quotes/">Quotes</a></li>
|
||||||
<li><a href="https://blog.kazu634.com/travel/">Travel</a></li>
|
<li><a href="{{ .Site.BaseURL }}/travel/">Travel</a></li>
|
||||||
|
|
Loading…
Reference in New Issue