tRemove trailing slash - andersdamsgaard.com - my photography webpage | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit 5b973a74e8c42e87007a1ec68c3efe6488ddf7e8 | |
parent ebac5f83fc1dcba1dce92c96cc2178ca7da78fef | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 5 Nov 2018 14:42:10 +0100 | |
Remove trailing slash | |
Diffstat: | |
M themes/tale-mod/layouts/partials/h… | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/themes/tale-mod/layouts/partials/head.html b/themes/tale-mod/layou… | |
t@@ -18,7 +18,7 @@ | |
<script type="text/javascript"> | |
if (window.location.href.indexOf("andersdamsgaard.dk") > -1) { | |
url=window.location.href; | |
- url=url.replace("andersdamsgaard.dk","andersdamsgaard.com/da/"… | |
+ url=url.replace("andersdamsgaard.dk","andersdamsgaard.com/da"); | |
window.location.replace(url); | |
} | |
</script> |