From 97399f61d40b0866c7057d577141373e002efac6 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 15 Feb 2026 12:25:42 +0100 Subject: change: stop reading home.md, just use _index.md --- README.md | 3 +-- layouts/_default/home.html | 2 -- wiki/features/homepage.md | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c216cf9..9605c22 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,7 @@ Tastefejl is a fork of the [Typo] Hugo theme, with the following changes: * Added VSCode syntax highlighting CSS (also the dark theme which Chroma doesn't include). You need to configure `markup.highlight.noClasses = false` in your `hugo.toml`. -* The home page embeds `content/home.md` rather than `homeIntroContent` from your `hugo.toml` - because Markdown text should be in `.md` files. +* The homeIntroTitle and homeIntroContent params have been removed, just use `content/_index.md`. * Removed the default favicon because no favicon is better than a favicon that has nothing to do with your website. diff --git a/layouts/_default/home.html b/layouts/_default/home.html index e7c9058..3738cee 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -2,8 +2,6 @@ {{ .Content }} -{{ readFile "content/home.md" | markdownify }} - {{ if .Site.Params.homeCollection }}
diff --git a/wiki/features/homepage.md b/wiki/features/homepage.md index 7f81274..030f453 100644 --- a/wiki/features/homepage.md +++ b/wiki/features/homepage.md @@ -14,7 +14,7 @@ The homepage offers minimal customization options, you can specify an intro, and ## Intro Section -Text you write in `content/home.md` will be embedded after the header on the homepage. +Text you write in `content/_index.md` will be embedded after the header on the homepage. ## Display a Collection -- cgit v1.3.1