commit 0222729d08f834b2e999bf2f6531db4bcb3525dd parent 84dabc45455bea596e559c36b57b7548e010a710 Author: Yohanes Bandung <bandungpenting@gmail.com> Date: Wed, 29 Apr 2020 00:31:12 +0700 hotfix: fix baseURL with slash Diffstat:
| M | config.dev.toml | | | 2 | +- |
| M | config.toml | | | 2 | +- |
| M | layouts/partials/footer/footer.html | | | 3 | ++- |
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/config.dev.toml b/config.dev.toml @@ -1,4 +1,4 @@ -baseURL = "https://ybbond.dev" +baseURL = "https://ybbond.dev/" languageCode = "en-us" title = "YBBond" diff --git a/config.toml b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://ybbond.dev" +baseURL = "https://ybbond.dev/" languageCode = "en-us" title = "YBBond" diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html @@ -15,7 +15,8 @@ </div> <p class="footer__copyright"> <span class="footer__copyright__year">©{{ now.Year }} {{ .Site.Params.Author }}</span> - {{ with .Site.BaseURL }} <span class="footer__copyright__separator">-</span> + {{ with .Site.BaseURL }} + <span class="footer__copyright__separator">-</span> <span class="footer__copyright__site"> <a href="{{ . }}" class="button"> {{ . | replaceRE "^https?://([^/]+).*" "$1" }}