rochacbruno / marmite

Markdown makes sites - A Static Site Generator for Blogs
https://rochacbruno.github.io/marmite/
GNU Affero General Public License v3.0
340 stars 19 forks source link

[feat] Streams #101

Open rochacbruno opened 2 days ago

rochacbruno commented 2 days ago

Right now marmite has only two streams of content

/ - Index of posts in chronological order pages.html - List of pages with no chronological order

What I propose:

Streams

On the post metadata

---
date: 2024-10-30
stream: notes
---
This is a simple note, I don´t want it to be rendered on the front page
instead, I want it listed on the `/notes.html` stream so I can add it to the menu.

By default, if not informed, each Content will assume index stream, so it will make the content to render on index.html (the front-page)

If stream: is provided, then content will be part of a {stream}.html file, not linked anywhere, user will need to add the stream to the menu or reference somewhere else.

Tags

Streams doesn't affect tags, tags are still shared across all streams, stream just controls where the content is listed.

Feed

Each stream will require its own {stream}.rss

That can probably replace the need for tag filtering on RSS #8