| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
* 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.
|
|
|
|
| |
Generated by Automake. No need to check it into the repo.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* haunt/utils.scm (make-user-module): New procedure.
|
|
|
|
| |
* haunt/ui.scm (haunt-main): Add CWD to Guile load path.
|
|
|
|
| |
* haunt/builder/blog.scm: Export render-post and render-collection.
|
|
|
|
|
|
| |
* haunt/html.scm (sxml->html): Remove 'raw' element renderer.
* haunt/reader.scm (read-html-post): Parse to SXML, rather than reading
a raw string.
|
|
|
|
|
| |
* haunt/builder/blog.scm: Export "theme-collection-template", not
"theme-list-template".
|
| |
|
| |
|
| |
|
|
|
|
| |
* website/haunt.scm (haunt-theme): Add "License" section to index page.
|
| |
|
|
|
|
| |
Thanks to Ben Sturmfels for pointing out that it was missing.
|
|
|
|
|
|
| |
* website/haunt.scm (%piwik-code): New variable.
(haunt-theme): Include Piwik JS on all pages.
* website/js/piwik.js: New file.
|
| |
|
|
|
|
| |
Thanks to Ben Sturmfels for pointing it out.
|
| |
|
| |
|
|
|
|
| |
* Makefile.am (bin_SCRIPTS): New variable.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* haunt/ui/serve.scm (watch): Remove 'ignore-dirs' argument. Add
'check-file?' and 'check-dir?' arguments.
(haunt-serve): Use new 'watch' procedure.
|
| |
|
|
|
|
|
| |
* haunt/asset.scm (directory-assets): Add 'keep?' argument.
(static-directory): Use site file filter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* haunt/builder/blog.scm: Export date->string*.
|
|
|
|
|
| |
* haunt/site.scm (build-site): Test for the existence of posts
directory.
|
|
|
|
|
| |
* haunt/site.scm (default-file-filter): Ignore files that begin with "."
or "#".
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|