summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* site: Update default file filter.David Thompson2015-08-051-1/+1
| | | | | * haunt/site.scm (default-file-filter): Ignore files that begin with "." or "#".
* ui: serve: Add --watch option.David Thompson2015-08-031-3/+49
| | | | | | | * haunt/ui/serve.scm (show-help): Add help text for --watch. (%options): Add --watch option. (watch): New procedure. (haunt-serve): DTRT when --watch is specified.
* site: Add a way to ignore post files that match a pattern.David Thompson2015-08-032-10/+36
| | | | | | | | | | | | This allows one to ignore files that would otherwise match a reader's file extension, such as an Emacs temporary file like ".#foo.html". * haunt/site.scm (<site>)[post-filter]: New field. (site-posts-filter): New accessor. (site): Add #:post-filter argument. (build-site): Pass post filter procedure to 'read-posts'. (make-file-name-filter, default-file-name-filter): New procedures. * haunt/reader.scm (read-posts): Add 'ignore?' argument.
* site: Fix procedure name in doc string.Ricardo Wurmus2015-07-281-1/+1
| | | | | * haunt/site.scm (site): Change "POST-SLUG" to "MAKE-SLUG" in doc string.
* site: Add site-wide slug procedure setting.Ricardo Wurmus2015-07-273-9/+22
| | | | | | | | | | | | | Co-Authored-By: David Thompson <davet@gnu.org> * haunt/site.scm (<site>)[make-slug]: New field. (site-make-slug, site-post-slug): New procedures. (site): Add #:make-slug keyword argument. * haunt/builder/blog.scm (render-list): Pass site to theme's list template. (ugly-theme): Add 'site' argument to #:list-template procedure. (blog): Use 'site-post-slug'. * haunt/builder/atom.scm (atom-feed, post->atom-entry): Likewise.
* example: Add image asset.David Thompson2015-07-273-2/+8
| | | | | | * example/haunt.scm: Add static directory builder. * example/images/guile-banner.small.png: New file. * example/posts/foo.sxml: Render Guile banner image.
* web-server: Bypass response sanitization for static files.David Thompson2015-07-271-11/+2
| | | | | | | Just copy the raw bytes. * haunt/serve/web-server.scm (dump-file): Delete. (render-file): Return a bytevector instead of a writer procedure.