diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-08-06 08:55:20 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-08-06 08:55:20 -0400 |
commit | 9b3f82e5faa3e64f508ee3066fbbedaf6a46f393 (patch) | |
tree | 1cf254db8a3ea35bb19102118bb24f972b3fbf2c /THANKS | |
parent | 97e31d42d24a4f452e6b7d64da40af59eaf23dec (diff) |
builder: blog: Add concept of "collections".
Rather than having a hardcoded index page, a blog now accepts a variable
number of "collection" tuples that describe the page title, file name,
and the filter procedure for the posts that will appear on that page.
* haunt/builder/blog.scm (<theme>) [list-template]: Delete.
[collection-template]: New field.
(theme-list-template): Delete.
(theme-collection-template): New accessor.
(make-theme): Replace #:list-template with #:collection-template.
(render-list): Delete.
(render-collection): New procedure.
(ugly-theme): Use #:collection-template argument.
(blog): Add #:collections argument.
Diffstat (limited to 'THANKS')
0 files changed, 0 insertions, 0 deletions