summaryrefslogtreecommitdiff
path: root/scripts/haunt.in
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-03 23:09:31 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-08-03 23:09:31 -0400
commit1edd8aa07afd8a19f6c1127700fbf06f3e589196 (patch)
tree7cbd4b7c0c22025221bac739da33a5760f8287d4 /scripts/haunt.in
parented271eb07988d8ade7a254d34078f7c4cec1dbb7 (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 'scripts/haunt.in')
0 files changed, 0 insertions, 0 deletions