diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-08-03 23:09:31 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-08-03 23:09:31 -0400 |
commit | 1edd8aa07afd8a19f6c1127700fbf06f3e589196 (patch) | |
tree | 7cbd4b7c0c22025221bac739da33a5760f8287d4 /haunt/ui.scm | |
parent | ed271eb07988d8ade7a254d34078f7c4cec1dbb7 (diff) |
site: Add a way to ignore post files that match a pattern.
This allows one to ignore files that would otherwise match a reader's
file extension, such as an Emacs temporary file like ".#foo.html".
* haunt/site.scm (<site>)[post-filter]: New field.
(site-posts-filter): New accessor.
(site): Add #:post-filter argument.
(build-site): Pass post filter procedure to 'read-posts'.
(make-file-name-filter, default-file-name-filter): New procedures.
* haunt/reader.scm (read-posts): Add 'ignore?' argument.
Diffstat (limited to 'haunt/ui.scm')
0 files changed, 0 insertions, 0 deletions