| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* haunt/post.scm (char-set:slug): New variable.
(post-slug): Use slug char set.
|
|
|
|
| |
* 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.
|