Request to add section.date and section.updated

It would be useful to have section.date and section.updated as built-in Zola variables.

I know that section.extra.* is available, but this request seems too common and natural to relegate it to an “extra” field.

Supporting reasons:

  1. There should be symmetry with page variables: page.date and page.updated
  2. The domain of files (i.e. how files work). Files are created at some time and then may be updated afterwards.
  3. The domain of the web (i.e. how web resources work). When content at a URL is made available, that is its publishing date. Then updates may be made.
1 Like

Hi @xpe, there was a discussion a while back here. If you feel like this is related, can we maybe continue the discussion there to bring discussion around this topic?

1 Like