From 2b53af7f50fca4b5f200d4783f03ebd5d98779f0 Mon Sep 17 00:00:00 2001 From: miraikumiko Date: Mon, 26 May 2025 14:12:12 +0200 Subject: [PATCH] Remove slash from URLs --- hugo.toml | 7 +++++-- themes/hugo-bearcub | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hugo.toml b/hugo.toml index 1ae9479..03fa9ab 100644 --- a/hugo.toml +++ b/hugo.toml @@ -3,9 +3,12 @@ baseURL = "https://miraikumiko.com" theme = "hugo-bearcub" copyright = "Mirai Kumiko (CC BY 4.0)" defaultContentLanguage = "en" - -# Generate a nice robots.txt for SEO enableRobotsTXT = true +uglyURLs = true + +[permalinks] +blog = "/blog/:slug" +photos = "/photos/:slug" # Setup syntax highlighting without inline styles. For more information about # why you'd want to avoid inline styles, see diff --git a/themes/hugo-bearcub b/themes/hugo-bearcub index fb01dae..dcfa770 160000 --- a/themes/hugo-bearcub +++ b/themes/hugo-bearcub @@ -1 +1 @@ -Subproject commit fb01daeb1e92fd81eb3b55b74a25d5bb9686352b +Subproject commit dcfa770f2c7ae347a36d05c8530cdeb733a7fbc5