I was dwelling on the design of kiln, and in particular how feeds are
handled, in this blog post[1].
It seems to me like feeds are currently a special case of index
pages, and I'm wondering if they can be unified.
In particular, feeds are given a set of feed variables: `.Title`,
`.Path`, `.URL`, and `.Pages`. However, these variables are a subset of
the page variables.
Are there any other aspects of rendering a feed that couldn't be done
in an index page?
[1]: https://edd.salkield.uk/blog/2023/02/07/in_praise_of_kiln.html
On Wed May 3, 2023 at 9:01 AM EDT, Edd Salkield wrote:
> I was dwelling on the design of kiln, and in particular how feeds are
> handled, in this blog post[1].
> It seems to me like feeds are currently a special case of index
> pages, and I'm wondering if they can be unified.
>
> In particular, feeds are given a set of feed variables: `.Title`,
> `.Path`, `.URL`, and `.Pages`. However, these variables are a subset of
> the page variables.
>
> Are there any other aspects of rendering a feed that couldn't be done
> in an index page?
>
> [1]: https://edd.salkield.uk/blog/2023/02/07/in_praise_of_kiln.html
The main difference I see is the ability to have multiple feeds and
render them in arbitrary locations. Meanwhile, an index page is limited
to the folder where its entries are located.