Commit Graph
2 Commits
Author SHA1 Message Date
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
Ludovic Courtès ba6c6b16e2 builder: atom: Provide a full URL for the "self" link.
* haunt/builder/atom.scm (atom-feed): Use SITE's domain to generate a
full URL for the "self" link.
2016-11-01 08:55:16 -04:00