summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* blog: Export with-layout.David Thompson2015-08-081-0/+1
|
* asset: Filter out assets that do not pass the site file filter.David Thompson2015-08-082-8/+11
| | | | | * haunt/asset.scm (directory-assets): Add 'keep?' argument. (static-directory): Use site file filter.
* site: Change post-filter to file-filter.David Thompson2015-08-082-24/+25
| | | | | | | | | | | | | | | Genericized name because the predicate procedure may be used on any file, not just posts. * haunt/site.scm (<site>)[post-filter]: Delete. [file-filter]: New field. (site): Replace #:post-filter with #:file-filter. (build-site): Use 'site-post-filter'. (make-file-name-filter): Delete. (make-file-filter): New procedure. (default-file-name-filter): Delete. (default-file-filter): New procedure. * haunt/reader.scm (read-posts): Flip predicate around.
* example: Remove unnecessary module import.David Thompson2015-08-061-2/+1
|
* builder: blog: Add concept of "collections".David Thompson2015-08-061-15/+19
| | | | | | | | | | | | | | | | Rather than having a hardcoded index page, a blog now accepts a variable number of "collection" tuples that describe the page title, file name, and the filter procedure for the posts that will appear on that page. * haunt/builder/blog.scm (<theme>) [list-template]: Delete. [collection-template]: New field. (theme-list-template): Delete. (theme-collection-template): New accessor. (make-theme): Replace #:list-template with #:collection-template. (render-list): Delete. (render-collection): New procedure. (ugly-theme): Use #:collection-template argument. (blog): Add #:collections argument.
* builder: blog: Export date->string*.David Thompson2015-08-051-0/+2
| | | | * haunt/builder/blog.scm: Export date->string*.
* site: Don't crash if there is no posts directory.David Thompson2015-08-051-4/+6
| | | | | * haunt/site.scm (build-site): Test for the existence of posts directory.