diff options
| author | Martin Fischer <martin@push-f.com> | 2026-02-15 12:25:42 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-02-15 12:25:42 +0100 |
| commit | 97399f61d40b0866c7057d577141373e002efac6 (patch) | |
| tree | cd972dcee5f43f28aa03655c904acaaf4657096a | |
| parent | b31a718136bfc81509533ecc09a3e7f3c27a4a6b (diff) | |
change: stop reading home.md, just use _index.md
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | layouts/_default/home.html | 2 | ||||
| -rw-r--r-- | wiki/features/homepage.md | 2 |
3 files changed, 2 insertions, 5 deletions
@@ -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 }} <div class="list-container"> 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 |
