From: Duje Mihanović Date: Sun, 3 Sep 2023 17:39:55 +0000 (+0200) Subject: Add trailing slashes to all intra-site links X-Git-Url: http://git.dujemihanovic.xyz/html/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/index.xml?a=commitdiff_plain;h=d91097391152c48004eddfb0a436fdbffd0e6b98;p=dujemihanovic.xyz.git Add trailing slashes to all intra-site links This should fix old browsers not automatically redirecting when given the HTTP 308 code. --- diff --git a/content/posts/dropping-gitea/index.md b/content/posts/dropping-gitea/index.md index 39013db..1ea9085 100644 --- a/content/posts/dropping-gitea/index.md +++ b/content/posts/dropping-gitea/index.md @@ -28,4 +28,4 @@ with lots of outside contribution as that's when it would become truly useful. Until then, I always accept patches sent with the venerable [git send-email](https://git-send-email.io). -If the new site breaks down in any way, please [let me know](/contact). +If the new site breaks down in any way, please [let me know](/contact/). diff --git a/content/posts/first-post/index.md b/content/posts/first-post/index.md index 7129a67..5479484 100644 --- a/content/posts/first-post/index.md +++ b/content/posts/first-post/index.md @@ -12,4 +12,4 @@ site under a (as of writing, local) Git repository which I do intend to make public if and when the blog becomes something relatively serious. EDIT: The source code is now public: [Site is now on -Gitea](/posts/site-is-now-on-gitea) +Gitea](/posts/site-is-now-on-gitea/) diff --git a/content/posts/site-is-now-on-gitea/index.md b/content/posts/site-is-now-on-gitea/index.md index 6a4a56c..1fac103 100644 --- a/content/posts/site-is-now-on-gitea/index.md +++ b/content/posts/site-is-now-on-gitea/index.md @@ -8,7 +8,7 @@ I have published its source code on or two, the repository itself can be found [here](https://git.dujemihanovic.xyz/?p=dujemihanovic.xyz.git;a=summary). If you have any suggestions as to how to improve the site, feel free to -[contact me](/contact). If you are willing to directly contribute, I also accept +[contact me](/contact/). If you are willing to directly contribute, I also accept patches sent with `git send-email`, a great tutorial on how to use it can be found [here](https://git-send-email.io). diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index a5f33ab..35b6ec9 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,7 +1,7 @@