| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* guix.scm <inputs>: Switch to GUILE-2.2.
|
|
|
|
|
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This was breaking the rendering of documents like:
'(p (@ (onclick "javascriptFunction('argmunent')")))
The single quotes would be escaped and then the onclick handler
wouldn't work at all.
* haunt/html.scm (%escape-codes): Remove apostrophe escape code.
|
|
|
|
| |
* haunt/ui/serve.scm: Add '(ice-9 threads)' module import.
|
|
|
|
|
| |
Without this patch 'haunt serve' claims to use the specified
non-default port, but in fact uses the default 8080 instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
lol oops
|
|
|
|
|
|
|
|
| |
* doc/haunt.texi ("Readers"): Add menu.
("Reader"): Change Readers to a subsection.
("Texinfo"): Add Textinfo subsection.
("Skribe"): Add Skribe subsection.
("CommonMark"): Add CommonMark subsection.
|
|
|
|
|
| |
* haunt/builder/atom.scm (atom-feed): Use SITE's domain to generate a
full URL for the "self" link.
|
|
|
|
|
| |
* example/haunt.scm: Add the commonmark-reader.
* example/posts/frob.md: New file.
|
| |
|
|
|
|
|
| |
* doc/haunt.text ("Requirements"): Add guile-commonmark.
* README ("Requirements"): Add guile-commonmark.
|
|
|
|
|
|
| |
* haunt/reader/commonmark.scm: New file.
* Makefile.am (SOURCES): Add it.
* configure.ac: Check for guile-commonmark.
|
|
|
|
| |
* doc/haunt.texi ("Posts"): s/post-data/post-date/
|
| |
|
|
|
|
| |
* doc/haunt.texi: s/matcher/proc/
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Now 'haunt serve --watch' won't crash when you put some bad code in a
post!
* haunt/ui/server.scm (call-with-error-handling): New procedure.
(watch): Wrap build-site call in call-with-error-handling form.
|
|
|
|
|
|
| |
* haunt/post.scm (post-slug): Allow posts to set their own slug field
and use that if available. Otherwise default to previous title-derived
slug behavior.
|
|
|
|
|
|
|
| |
* haunt/builder/blog.scm (ugly-default-collection-template):
* haunt/builder/blog.scm (post->atom-entry):
Reverse appending of prefix and slash in generation of paths
for blog entries.
|
|
|
|
|
| |
* haunt/builder/atom.scm (post->atom-key, atom-feed, atom-feeds-by-tag):
Add #:blog-prefix keyword.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously if a user did not provide a value for any of the theme
keyword arguments, there would be an error. Instead, provide defaults
from ugly-theme.
* haunt/builder/blog.scm: (ugly-default-layout, ugly-default-post-template,
ugly-default-collection-template): New variables.
(theme): New defaults to keyword arguments.
|
|
|
|
|
| |
* haunt/post.scm (char-set:slug): New variable.
(post-slug): Use slug char set.
|
|
|
|
| |
* haunt/skribe/utils.scm: Export ol.
|
| |
|
|
|
|
|
| |
* Makefile.am (moddir, goddir): Remove hardcoded "2.0".
* configure.ac: Check to 2.2 as well.
|
|
|
|
|
|
| |
Trace origin back to Skribilo.
* haunt/skribe.scm: Added comments and copyright headers.
|
|
|
|
| |
* doc/haunt.texi: Use '@dircategory' and '@direntry'.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This fixes 'make distcheck' failure.
* Makefile.am (doc_haunt_TEXINFOS): New variable.
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Use 'guix.scm' instead of the obsolete file
name 'package.scm'.
* example/posts/baz.skr: Likewise.
|
|
|
|
|
|
|
| |
* haunt/reader/texinfo.scm: New file.
* Makefile.am (SOURCES): Add it.
* example/haunt.scm: Activate texinfo reader.
* example/posts/quux.scm: New file.
|
|
|
|
|
|
|
|
| |
* haunt/post.scm (read-metadata-headers): New procedure.
* haunt/reader.scm (read-html-post): Reimplement using
'read-metadata-headers'.
* tests/post.scm (%tzoffset): New variable.
("read-metadata-headers"): New test.
|
|
|
|
|
| |
* tests/post.scm: New file.
* Makefile.am (TESTS): Add it.
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am (info_TEXINFOS): New variable.
* doc/haunt.texi: New file.
* doc/fdl-1.3.texi: New file.
* guix.scm [native-inputs]: Add texinfo.
|