diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2015-07-27 21:05:30 +0200 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-07-27 20:30:00 -0400 |
commit | 615361a220747f7376b4e45dd33cd86670284d63 (patch) | |
tree | 779e6f81e0bc057e064a7db5c7454d5a55f247c6 /bootstrap | |
parent | 228932a48bbae21a0b4ef1add4e2c1bfd9d68691 (diff) |
site: Add site-wide slug procedure setting.
Co-Authored-By: David Thompson <davet@gnu.org>
* haunt/site.scm (<site>)[make-slug]: New field.
(site-make-slug, site-post-slug): New procedures.
(site): Add #:make-slug keyword argument.
* haunt/builder/blog.scm (render-list): Pass site to theme's list
template.
(ugly-theme): Add 'site' argument to #:list-template procedure.
(blog): Use 'site-post-slug'.
* haunt/builder/atom.scm (atom-feed, post->atom-entry): Likewise.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions