Squib renders several different types of pages.
- Home page
- Archive page
- All Posts page
listing of all posts by title - All Archives page (Monthly Archives) listing of all months with posts and number of posts per month
- Date based archives
- day
lists all posts for that day - month
lists all posts for that month - year
lists the months in that year that have posts
- day
- Topics pages
these are the topic based RSS pages - RSS/Atom feeds
Currently, creating a new post causes all these to render except the month and year dated based pages.
I think that creating a new post or editing/updating an old post should cause all of these pages to render again. Well, perhaps editing/updating shouldn’t cause the date based year page to re-render, because no change would be evident, unless the change was a deletion. But this page would take very little time to render anyway.
I have to investigate, because I’m not sure where the triggers for all these renderings occurs.
Update: After some digging I found that homepage_controller.rb calls to the archive_page definition in publish_controller.rb. It passes all 3 parameters of day, month, and year. As such archive_page only creates the day archive and neither the month or year archives. I can change it so it creates all the archives each time, but is that what we want?
Related posts:
- Squib rendering, part 2 In the homepage_controller.rb there is a private definition publish_changes that...
- Archives done right Hooray for #256. Matt’s got Squib doing archives a better...
- Markdown Tool: Pre-rendering and swapping As I post more new entries the older ones will...
- ioArchiver This script will place a button in your Instant Outline...
- SQLite Doesn’t Do Dates Apparently SQLite doesn’t have very good date handling. It seems...
Related posts brought to you by Yet Another Related Posts Plugin.