Conversation
…odule BREAKING CHANGE: `blogatto/config/feed`'s `FeedConfig`, `FeedItem`, and the related builder functions have moved to `blogatto/config/feed/rss` as `RssFeedConfig` and `RssFeedItem`. `Config.feeds` is now `Config.rss_feeds`, and `config.feed()` is now `config.rss_feed()`. `FeedMetadata` stays in `blogatto/config/feed`. This makes the existing API explicit about RSS and leaves room for additional feed formats (e.g. Atom, #44) without overloading the generic `feed` namespace.
Adds AtomFeed configuration and internal builder for generating Atom 1.0 feeds via webls. Multiple Atom feeds can be configured through `config.atom_feed()` with optional filter/serialize hooks mirroring the RSS API. Updates docs, README, and the simple_blog example to demonstrate atom feed generation. Closes #44
Renames `blogatto/config/markdown` to `blogatto/config/post` to reflect that it configures post discovery and rendering rather than the markdown format specifically. Builder is reshaped: `internal/builder/blog.gleam` becomes `internal/builder/post.gleam`, and markdown-only rendering is extracted to `internal/builder/post/markdown.gleam` so other source formats (e.g. djot) can be added as sibling submodules. BREAKING CHANGE: `blogatto/config/markdown` module renamed to `blogatto/config/post`; `MarkdownConfig` renamed to `PostConfig`; `Config.markdown_config` field renamed to `post_config`; `config.markdown()` setter renamed to `config.post()`; `markdown.markdown_path()` renamed to `post.path()`. `Components`, `Options`, and `Alignment` move with the module. Component setter names unchanged; only the module qualifier changes.
Add jot-backed renderer for `.dj` and `.djot` post sources, sharing the same `Components`, frontmatter, and `Post(msg)` pipeline as markdown. Mixed-format blogs are supported; each post directory picks its own extension. Markdown `Options` and Smalto syntax highlighting remain markdown-only. Djot-only inline constructs (span, ins, math, symbols) fall back to raw Lustre elements with attributes preserved. Renames `docs/markdown-components.md` to `docs/post-components.md` to reflect that components apply to both formats. Closes #45
|
✔️ 8b9032d...a8810ad - Conventional commits check succeeded. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
6.0.0
Released on 2026-05-07
⚠ Breaking Changes
FeedConfigtoRssFeedConfigand split into rss submoduleMarkdownConfigtoPostConfigand split builderAdded
CI
Changed
MarkdownConfigtoPostConfigand split builderDocumentation
Miscellaneous
gleam format