summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-08-16 22:12:15 +0200
committerMartin Fischer <martin@push-f.com>2025-08-16 22:32:40 +0200
commitb31a718136bfc81509533ecc09a3e7f3c27a4a6b (patch)
treeebdb97d8c6074d485853bb030d93e9d4bd714b43 /README.md
parent38871393ba1658bd0b8aac4f88c4159271502d63 (diff)
fix: set rel=alternate for individual pagesHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 172d47d..c216cf9 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,26 @@ Tastefejl is a fork of the [Typo] Hugo theme, with the following changes:
* Removed the copy buttons for code blocks because they could obscure the code
and also behaved wrongly on horizontal scrolling.
+* Fixed that individual blog posts didn't have `rel=alternate` links. `homeCollection` is now also linked as the RSS feed of the home page.
+ Tip: Hugo by default also generates an RSS entry for the home page disable this in `hugo.toml` with:
+
+ ```toml
+ [outputs]
+ home = ['html']
+ section = ['html']
+ taxonomy = ['html']
+ term = ['html']
+ ```
+
+ And then reenable this in `content/posts/_index.md` for posts with:
+
+ ```
+ +++
+ title = "Posts"
+ outputs = ["HTML", "RSS"]
+ +++
+ ```
+
* Removed [Simple Icons] because I don't want to plaster brands on my website and at one point a 50MB .html file was committed
(I filtered the git history to reduce the size of the repository.)