summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Ignore build-aux/test-driver.David Thompson2015-10-152-148/+1
| | | | Generated by Automake. No need to check it into the repo.
* utils: Clean up and add tests.David Thompson2015-10-147-5/+287
| | | | | | | | | | | | | * haunt/utils.scm (flat-map, string-split-at): Add docstring. (file-name-components): Adjust slightly to handle "/". (join-file-name-components): Use prefix string join grammar. (absolute-file-name): Add docstring. * test-env.in: New file. * tests/utils.scm: New file. * Makefile.am (TESTS, TEST_EXTENSIONS, SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): New variables. * configure.ac: Add test-env pre-processed file. * build-aux/test-driver: New file.
* Update Guix development package.David Thompson2015-10-122-5/+7
|
* Add support for Skribe document format.David Thompson2015-10-128-6/+264
| | | | | | | | | | | | * haunt/skribe.scm: New file. * haunt/skribe/utils.scm: New file. * haunt/reader/skribe.scm: New file. * configure.ac: Check for guile-reader. * Makefile.am (SOURCES): Add Skribe modules when guile-reader is available. * example/haunt.scm: Include Skribe reader. * example/posts/baz.skr: New file. * README.md ("Requirements"): Mention guile-reader as optional dependency.
* utils: Add make-user-module.David Thompson2015-10-121-1/+10
| | | | * haunt/utils.scm (make-user-module): New procedure.
* ui: Add CWD to Guile load path.David Thompson2015-10-121-0/+3
| | | | * haunt/ui.scm (haunt-main): Add CWD to Guile load path.
* builder: blog: Export render-post and render-collection.David Thompson2015-10-081-0/+2
| | | | * haunt/builder/blog.scm: Export render-post and render-collection.
* html: Remove 'raw' element type.David Thompson2015-10-022-4/+4
| | | | | | * haunt/html.scm (sxml->html): Remove 'raw' element renderer. * haunt/reader.scm (read-html-post): Parse to SXML, rather than reading a raw string.
* builder: blog: Export "theme-collection-template".Ricardo Wurmus2015-09-041-1/+1
| | | | | * haunt/builder/blog.scm: Export "theme-collection-template", not "theme-list-template".
* README: Add examples section.David Thompson2015-08-181-0/+10
|
* README: Explain the pre-inst-env script.David Thompson2015-08-181-0/+7
|
* Add package.scm to release tarballs.David Thompson2015-08-121-1/+2
|
* website: Add license information to home page.David Thompson2015-08-101-0/+9
| | | | * website/haunt.scm (haunt-theme): Add "License" section to index page.
* Include example and website directories in release tarballs.David Thompson2015-08-106-5/+59
|
* Include README.md in future release tarballs.David Thompson2015-08-101-1/+3
| | | | Thanks to Ben Sturmfels for pointing out that it was missing.
* website: Add Piwik analytics.David Thompson2015-08-092-2/+41
| | | | | | * website/haunt.scm (%piwik-code): New variable. (haunt-theme): Include Piwik JS on all pages. * website/js/piwik.js: New file.
* Add THANKS file.David Thompson2015-08-091-0/+1
|
* README: Fix Guile version requirements.David Thompson2015-08-091-1/+1
| | | | Thanks to Ben Sturmfels for pointing it out.
* website: Add real SHA1 checksum for 0.1 release.David Thompson2015-08-081-1/+1
|
* Update Guix development package.v0.1David Thompson2015-08-081-3/+22
|
* Add scripts/haunt to bin directory.David Thompson2015-08-081-0/+3
| | | | * Makefile.am (bin_SCRIPTS): New variable.
* Add website.David Thompson2015-08-087-0/+928
|
* Update Guix package metadata.David Thompson2015-08-081-3/+3
|
* Ignore gzipped tarballs.David Thompson2015-08-081-0/+1
|
* ui: serve: Fix auto-rebuilding logic.David Thompson2015-08-081-16/+25
| | | | | | * haunt/ui/serve.scm (watch): Remove 'ignore-dirs' argument. Add 'check-file?' and 'check-dir?' arguments. (haunt-serve): Use new 'watch' procedure.