summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* guix: Switch to Guile 2.2.Ludovic Courtès2017-12-211-1/+1
| | | | * guix.scm <inputs>: Switch to GUILE-2.2.
* serve: Fix 'file-extension' so that the right MIME type is chosen.Ludovic Courtès2017-12-211-10/+4
| | | | | | | | 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'.
* Thank Urbain Vaes.David Thompson2017-11-011-0/+1
|
* html: Stop escaping apostrophes.David Thompson2017-11-011-1/+0
| | | | | | | | | | | 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.
* ui: serve: Fix deprecation warning.Jelle Licht2017-10-311-0/+1
| | | | * haunt/ui/serve.scm: Add '(ice-9 threads)' module import.
* Don't ignore a specified non-default port in 'haunt serve'.Sudarshan S Chawathe2017-09-031-1/+1
| | | | | Without this patch 'haunt serve' claims to use the specified non-default port, but in fact uses the default 8080 instead.
* website: Update manual.David Thompson2017-01-2328-194/+578
|
* Add 0.2.1 release announcement.David Thompson2017-01-232-2/+28
|
* Add 'make publish' target.David Thompson2017-01-231-0/+5
|
* Bump version to 0.2.1.v0.2.1David Thompson2017-01-231-1/+1
|
* Fix tests that fail during daylight savings time.David Thompson2017-01-232-2/+4
| | | | lol oops
* doc: Add Readers section and reader subsections.Erik Edrosa2016-12-141-0/+101
| | | | | | | | * doc/haunt.texi ("Readers"): Add menu. ("Reader"): Change Readers to a subsection. ("Texinfo"): Add Textinfo subsection. ("Skribe"): Add Skribe subsection. ("CommonMark"): Add CommonMark subsection.
* builder: atom: Provide a full URL for the "self" link.Ludovic Courtès2016-11-011-1/+2
| | | | | * haunt/builder/atom.scm (atom-feed): Use SITE's domain to generate a full URL for the "self" link.
* example: Add a Markdown post.David Thompson2016-08-182-1/+22
| | | | | * example/haunt.scm: Add the commonmark-reader. * example/posts/frob.md: New file.
* guix: Add guile-commonmark as a propagated input.David Thompson2016-08-181-1/+2
|
* doc: Add guile-commonmark as optional dependency.Erik Edrosa2016-08-182-0/+4
| | | | | * doc/haunt.text ("Requirements"): Add guile-commonmark. * README ("Requirements"): Add guile-commonmark.
* reader: Add commonmark support.Erik Edrosa2016-08-023-0/+48
| | | | | | * haunt/reader/commonmark.scm: New file. * Makefile.am (SOURCES): Add it. * configure.ac: Check for guile-commonmark.
* doc: Fix a typo in procedure name.Vladimir Zhbanov2016-06-071-1/+1
| | | | * doc/haunt.texi ("Posts"): s/post-data/post-date/
* Thank Vladimir.David Thompson2016-05-201-0/+1
|
* doc: Fix procedure name.Vladimir Zhbanov2016-05-201-1/+1
| | | | * doc/haunt.texi: s/matcher/proc/
* website: Fix small capitalization mistake.David Thompson2016-04-241-1/+1
|
* website: Thank Chris and Mathieu.David Thompson2016-04-241-0/+3
|
* website: Add copy of HTML manual.David Thompson2016-04-2425-1/+3284
|
* website: Add 0.2 release announcement.David Thompson2016-04-242-16/+56
|
* Fix 'make distcheck'.v0.2David Thompson2016-04-241-2/+6
|
* guix: Update development snapshot.David Thompson2016-04-241-3/+3
|
* doc: Expand API documentation.David Thompson2016-04-231-13/+395
|
* serve: Catch exceptions when rebuilding site.David Thompson2016-04-211-1/+16
| | | | | | | | 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.
* post: Allow posts to set their own slugs.Christopher Allan Webber2016-04-121-5/+7
| | | | | | * 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.
* builder: Reverse prefix and slash append order in generating post paths.Christopher Allan Webber2016-04-122-2/+2
| | | | | | | * 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.
* builder: atom: Allow atom feeds to correctly set the blog prefix.Christopher Allan Webber2016-04-081-6/+12
| | | | | * haunt/builder/atom.scm (post->atom-key, atom-feed, atom-feeds-by-tag): Add #:blog-prefix keyword.
* doc: Start writing API docs.David Thompson2016-04-021-0/+81
|
* doc: Write command-line interface chapter.David Thompson2016-04-021-0/+95
|
* builder: blog: Set default values for 'theme' keywords.Christopher Allan Webber2016-04-021-33/+37
| | | | | | | | | | 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.
* post: Allow dashes in slugs.David Thompson2016-04-021-1/+4
| | | | | * haunt/post.scm (char-set:slug): New variable. (post-slug): Use slug char set.
* skribe: utils: Export ol.David Thompson2016-04-021-1/+1
| | | | * haunt/skribe/utils.scm: Export ol.
* guix: Add pkg-config to environment.David Thompson2016-02-151-0/+2
|
* build: Allow building with Guile 2.2.David Thompson2016-02-152-3/+4
| | | | | * Makefile.am (moddir, goddir): Remove hardcoded "2.0". * configure.ac: Check to 2.2 as well.
* skribe: Add copyright information for Ludovic Courtès.Christopher Allan Webber2016-02-151-0/+2
| | | | | | Trace origin back to Skribilo. * haunt/skribe.scm: Added comments and copyright headers.
* doc: Add support for 'install-info'.Mathieu Lirzin2015-12-061-0/+5
| | | | * doc/haunt.texi: Use '@dircategory' and '@direntry'.
* build: Don't build dvi docs.David Thompson2015-12-061-0/+1
|
* reader: texinfo: Remove unused import.David Thompson2015-11-101-2/+0
|
* Renamed README.md to README.David Thompson2015-11-103-97/+88
|
* build: Declare a dependency for the manual.Mathieu Lirzin2015-11-101-0/+1
| | | | | | This fixes 'make distcheck' failure. * Makefile.am (doc_haunt_TEXINFOS): New variable.
* build: Fix all the Guix development package references.Mathieu Lirzin2015-11-102-2/+3
| | | | | | * Makefile.am (EXTRA_DIST): Use 'guix.scm' instead of the obsolete file name 'package.scm'. * example/posts/baz.skr: Likewise.
* reader: Add texinfo support.David Thompson2015-10-154-2/+80
| | | | | | | * haunt/reader/texinfo.scm: New file. * Makefile.am (SOURCES): Add it. * example/haunt.scm: Activate texinfo reader. * example/posts/quux.scm: New file.
* post: Add read-metadata-headers procedure.David Thompson2015-10-153-17/+35
| | | | | | | | * 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: Add post tests.David Thompson2015-10-152-0/+72
| | | | | * tests/post.scm: New file. * Makefile.am (TESTS): Add it.
* Bump version to 0.2.David Thompson2015-10-151-1/+1
|
* Add beginnings of a reference manual.David Thompson2015-10-155-2/+820
| | | | | | | * Makefile.am (info_TEXINFOS): New variable. * doc/haunt.texi: New file. * doc/fdl-1.3.texi: New file. * guix.scm [native-inputs]: Add texinfo.