Adds micro posts to the home page

Adds support for displaying microposts (e.g. Mastodon toots) on the home
page. This includes adding a new "secondarysections" parameter to the
configuration, updating the index layout to display these posts, and
adding a default comment section to the micro archetype.
This commit is contained in:
fundor333
2025-05-28 13:07:13 +02:00
parent 00fc72ae23
commit bbde4caedf
4 changed files with 25 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ defaultColor:
# the default value is set to 'auto'.
# You can take a look at layouts/index.html for more information.
mainSections: ["post", "photos", "weeknote"]
secondarysections: ["micro"]
feedSections: ["post", "photos", "micro", "weeknote"]
commentSections: ["post", "photos", "micro", "weeknote"]
suggestionSections: ["post"]