haunt/haunt
Ludovic Courtès e7b1b290b1 serve: Fix 'file-extension' so that the right MIME type is chosen.
Reported by sirgazil at
<https://lists.gnu.org/archive/html/guile-user/2017-12/msg00070.html>.

* haunt/serve/mime-types.scm (%file-ext-regexp): Remove.
(file-extension): Rewrite using 'string-rindex'.
2017-12-21 08:51:02 -05:00
..
builder builder: atom: Provide a full URL for the "self" link. 2016-11-01 08:55:16 -04:00
reader reader: Add commonmark support. 2016-08-02 07:48:24 -04:00
serve serve: Fix 'file-extension' so that the right MIME type is chosen. 2017-12-21 08:51:02 -05:00
skribe skribe: utils: Export ol. 2016-04-02 15:55:47 -04:00
ui ui: serve: Fix deprecation warning. 2017-10-31 11:07:19 -04:00
asset.scm asset: Filter out assets that do not pass the site file filter. 2015-08-08 00:42:12 -04:00
config.scm.in config: Remove unneeded things. 2015-04-11 18:37:24 -04:00
html.scm html: Stop escaping apostrophes. 2017-11-01 11:57:28 -04:00
page.scm page: Ensure output directory exists before writing. 2015-04-11 15:16:33 -04:00
post.scm post: Allow posts to set their own slugs. 2016-04-12 17:19:31 -04:00
reader.scm post: Add read-metadata-headers procedure. 2015-10-15 22:46:30 -04:00
site.scm site: Change post-filter to file-filter. 2015-08-08 00:40:24 -04:00
skribe.scm skribe: Add copyright information for Ludovic Courtès. 2016-02-15 19:33:28 -05:00
ui.scm ui: Add CWD to Guile load path. 2015-10-12 19:05:50 -04:00
utils.scm utils: Clean up and add tests. 2015-10-14 10:50:03 -04:00