blob: 5814a20df67659e1bf128af61d7a851edf36aa77 (
plain)
I'll be using IkiWiki primarily as a blog, so I want a way to view entries by date. A URL of the form /date/YYYY/MM/DD.html (or /date/YYYY/MM/DD/ when using the use_dirs patch) should show posts from that period. ATM, I have this:
This works (although accessing %IkiWiki::pagectime is not too clever), but it would be far more useful if the date pages were automatically created and populated with the relevant posts. A [[Pagespec]] works perfectly for displaying the relevant content, but we're still left with the issue of actually creating the page. What's the Right Way to do this? We could create them in the RCS working copy and check them in, or create them directly in the output directory... (I'd also like to create an option for the tags plugin to auto-create its targets in the same way). Any opinions? :-)
|