make rss feeds optional for resources

This commit is contained in:
zyl 2024-11-13 13:11:37 -08:00
parent 95a0765b1e
commit ddeb079d52
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
7 changed files with 101 additions and 65 deletions

View file

@ -73,17 +73,23 @@ the link to actually use for the link.
the link's title.
### `rss_template`
### `rss`
the resource type's rss info. if not present, no rss feed will be built.
consists of the following properties:
#### `template`
the template used to render the resource type's rss feed's html content.
this template is provided a single resource's properties as its properties.
### `rss_title`
#### `title`
the title for the resource type's rss feed.
### `rss_description`
#### `description`
the description for the resource type's rss feed.