Kazuhiro MUSASHI
|
5ec3b74ae9
|
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>
```
|
2019-05-04 21:42:30 +08:00 |