From f34cffb8499753fa683ab5e70ffef0aa842a4a94 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Tue, 1 Oct 2024 13:28:19 -0500 Subject: [PATCH] Make markdown output "ugly" This makes it so, for example, `/blog/swapfile-guide` has markdown file at `/blog/swapfile-guide.md` instead of `/blog/swapfile-guide/index.md`. --- exampleSite/hugo.yaml | 3 +++ hugo.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 72fe519..7c15f91 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -18,6 +18,9 @@ markup: # this just keeps the bobatheme markup styling outputs: _merge: deep +outputFormats: + _merge: deep + params: author: name: bbaovanc diff --git a/hugo.yaml b/hugo.yaml index 388022c..9fe82d2 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -17,6 +17,10 @@ outputs: - html - markdown +outputFormats: + markdown: + ugly: true + privacy: googleAnalytics: disable: true