diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f3c4c3..75ab409 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project are documented here. Format follows [Keep a - **Favicon polish** — opt-in `params.faviconSvg` and `params.appleTouchIcon` for SVG and iOS home-screen icons. Default behavior unchanged when unset. - **Demo-only gallery CSS** — `/themes/` and `/variants/` pages load a separate `static/css/gallery.css`; `static/css/bonsai.css` no longer ships gallery selectors to user sites. Saves ~1.9 KB raw / ~200 B gzipped on every real site. New `head_extra` block in `baseof.html` enables per-page stylesheet additions. - **10 new icons** — set grows from 35 to 45. Brand additions: `bandcamp`, `soundcloud`, `spotify`, `figma`, `dribbble`, `stackoverflow`, `matrix`. Utility additions: `bookopen`, `download`, `heart`. Vendored from Simple Icons v13 (CC0) and Lucide v0.460 (ISC) at the same versions; soft ceiling for v0-line is ~50. +- **Optional RSS feed** — opt-in `params.rss = true` renders an RSS 2.0 feed of `[[params.links]]` at `/index.xml` and emits `` in `
`. Requires removing `RSS` from `disableKinds`. `pubDate` = build time. Off by default; existing sites unaffected. ### Changed - **A11y** — sakura accent darkened `#d4456a → #c93f63` (4.04 → 4.49 vs bg) and koi accent darkened `#c8521e → #bd4c1c` (4.17 → 4.63 vs bg) to reach WCAG AA on the gallery accent chip. Brand intent preserved (cherry blossom pink / koi orange). README hex table synced. diff --git a/README.md b/README.md index 84b103d..3fdb4b0 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"] | `colorTheme` | string | `bonsai` | Palette: `bonsai`, `sakura`, `sumi`, or `koi`. See [Color themes](#color-themes). | | `layout` | string | `stack` | Link arrangement: `stack`, `grid`, or `inline`. See [Layout variants](#layout-variants). | | `themeToggle` | bool | `false` | Render a sun/moon button in the footer + load the toggle script. | +| `rss` | bool | `false` | Render an RSS 2.0 feed of `[[params.links]]` at `/index.xml` and emit `` in ``. Requires removing `RSS` from `disableKinds`. | | `ogImage` | bool | `true` | Set `false` to suppress all `og:image` / `twitter:image` tags. | | `ogImageUrl` | string (URL) | — | Explicit OG preview image (1200×630 recommended). Overrides the avatar fallback and upgrades Twitter card to `summary_large_image`. | | `schema` | bool | `true` | Emit schema.org `Person` JSON-LD in ``. Set `false` if you provide your own. | @@ -140,6 +141,20 @@ Three arrangements for `[[params.links]]`. Pick one via `layout` in `[params]`: Live preview: **[tiennm99.github.io/bonsai/variants/](https://tiennm99.github.io/bonsai/variants/)**. +## RSS feed (opt-in) + +Off by default. To enable a feed of your `[[params.links]]` at `/index.xml`: + +```toml +# remove "RSS" from disableKinds — Hugo emits it by default but the theme suggests disabling it +disableKinds = ["taxonomy", "term", "sitemap", "404"] + +[params] + rss = true +``` + +The theme renders one `