MalphasWats/staticDimension — pull request #1 by tpdorsey (2012-08-10 23:41:17+00:00)
Title: Single page archive

Mike, this adds the ability to use either your original year-month-day archives or a single-page archive listing all posts by title and byline.

I added a new setting called singlePageArchive to _settings.php. If set to "true", the single-page archive is created. This setting also adds a "More articles" link to the archive at the bottom of the home page.

For any other value, the original archive style is used and the "More articles" link is not added to the home page. Default setting value when created by install.php is "false".

Regardless of the setting, any existing archive pages are retained - only archive.html is changed. Users can change the singlePageArchive setting at any time to switch between the different formats. It shouldn't make any difference to the rest of the site.

In my testing I found that writing a page did not necessarily create the archive page. I made a change in saving or deleting a page that makes sure both the home page and archive page get updated immediately.

You can see the new setting in action at [Terrence Dorsey](http://terrencedorsey.com/) and [The Sportwagon](http://thesportwagon.com/).

Thanks for your consideration.