Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | publisher: Throw an error if name isn't a symbol. | David Thompson | 2023-11-11 | 1 | -1/+6 |
| | |||||
* | Add Sourcehut publisher. | Filip Lajszczak | 2023-11-11 | 2 | -1/+63 |
| | | | | | | | * haunt/publisher/sourcehut.scm: New file. * configure.ac: Check for presence of hut and tar. * Makefile.am: Conditionally add sourcehut publisher to build. * guix.scm: Add hut and tar inputs. | ||||
* | ui: Add publish to list of subcommands. | Filip Lajszczak | 2023-11-11 | 1 | -1/+1 |
| | | | | | * haunt/ui.scm: Makes publish subcommand more discoverable by adding it to the list of subcommands displayed by top level --help | ||||
* | post: Add convenience procedures for post author, tags, and title. | Filip Lajszczak | 2023-11-10 | 1 | -2/+18 |
| | | | | | | | | | | Author, tags and title metadata are commonly used, * haunt/post.scm (post-author, post-tags, post-title): New procedures. * tests/post.scm ("post-author, author metadata", "post-tags, tags metadata", "post-title, title metadata", "post-author, no metadata", "post-tags, no metadata", "post-title, no metadata"): New tests. * doc/haunt.texi (Posts): Docs for new procedures. | ||||
* | Sidestep CORS issues when using local web server. | David Thompson | 2023-09-20 | 1 | -1/+2 |
| | | | | I fucking hate CORS!!!!!!!!!! | ||||
* | Add application/wasm MIME type. | David Thompson | 2023-09-20 | 1 | -0/+1 |
| | |||||
* | ui: Fix typo in leave function docstring. | jgart | 2023-06-13 | 1 | -1/+1 |
| | | | | * haunt/ui.scm: Fix typo. | ||||
* | post: Add fallback value to post-time. | Jelle Licht | 2023-03-21 | 1 | -1/+1 |
| | | | | | * haunt/post.scm (post-time): Implement in terms of post-date, which has a fallback value. | ||||
* | Fix copyright year in (haunt ui publish). | David Thompson | 2023-02-27 | 1 | -1/+1 |
| | |||||
* | site: Use issue-deprecation-warning for deprecation notification. | David Thompson | 2022-10-22 | 1 | -2/+6 |
| | |||||
* | Add missing haunt/ui/publish.scm file. | David Thompson | 2022-08-21 | 1 | -0/+69 |
| | | | | Oops! | ||||
* | Add publishing interface with built-in support for rsync. | David Thompson | 2022-08-21 | 4 | -7/+144 |
| | |||||
* | Factor watch implementations into their own modules. | David Thompson | 2022-07-09 | 3 | -113/+151 |
| | | | | | | This should also hopefully resolve some issues that Christine Lemmer-Webber reported with the old code when resolving all of those inotify bindings at runtime. | ||||
* | ui: serve: Allow for setting the host explicitly. | Christine Lemmer-Webber | 2022-06-01 | 1 | -3/+26 |
| | | | | Also update docs accordingly. | ||||
* | ui: Make cli options consistent. | Filip Lajszczak | 2022-02-23 | 2 | -2/+2 |
| | | | | | | | * haunt/ui.scm: Option to display version with single character flag was missing for the root command... * haunt/ui/build.scm: ...and was present but undocummented for the build command. | ||||
* | ui: serve: Fix lazy loading of inotify module. | David Thompson | 2022-02-06 | 1 | -9/+13 |
| | |||||
* | Do not compile or load inotify module when inotify is not available. | David Thompson | 2022-02-06 | 1 | -1/+11 |
| | |||||
* | ui: serve: Reload user modules when they change. | David Thompson | 2022-02-05 | 1 | -0/+17 |
| | |||||
* | builder: blog: Add support for collection pagination. | David Thompson | 2022-02-05 | 1 | -19/+104 |
| | |||||
* | Fix Guile < 3.0 compatibility issue. | David Thompson | 2022-01-13 | 3 | -6/+39 |
| | |||||
* | ui: serve: Watch files with inotify on Linux. | David Thompson | 2022-01-13 | 1 | -14/+63 |
| | |||||
* | Add inotify bindings. | David Thompson | 2022-01-13 | 1 | -0/+224 |
| | |||||
* | Mark modules that call 'load' as non-declarative.v0.2.5 | David Thompson | 2021-04-15 | 3 | -0/+3 |
| | |||||
* | Revert "html: Add support for comments." | David Thompson | 2021-03-18 | 1 | -2/+0 |
| | | | | | | | This reverts commit 93334118aa3e156a0c47e76014fabc36b0752ebc. You cannot just put an unsanitized string in a comment, because there certain strings that cannot appear in a comment. | ||||
* | html: Add support for comments. | David Thompson | 2021-03-18 | 1 | -0/+2 |
| | | | | Thanks to Riku Viitanen for the patch. | ||||
* | builder: rss: Fix "//" in URI path when there is no blog prefix. | David Thompson | 2021-03-18 | 1 | -2/+5 |
| | |||||
* | builder: blog: Remove (haunt page) import. | David Thompson | 2021-03-18 | 1 | -1/+0 |
| | |||||
* | builder: rss: Migrate to artifacts. | David Thompson | 2021-03-18 | 1 | -17/+22 |
| | |||||
* | rss: Made RSS builder more W3-validation compliant | Philip K | 2021-03-18 | 1 | -28/+41 |
| | |||||
* | Create a unified type for build artifacts. | David Thompson | 2021-03-18 | 5 | -31/+105 |
| | | | | Deprecate <page> and <asset>. | ||||
* | utils: Remove leading "/" in join-file-name-components. | David Thompson | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | site: Add files ending in "~" to the default file filter. | David Thompson | 2021-03-18 | 1 | -1/+1 |
| | | | | They are Emacs temp files. | ||||
* | reader: Follow symlinks in read-posts. | David Thompson | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | atom: Change date format from ISO-8601 to RFC-3339. | Philip K | 2019-08-15 | 1 | -2/+2 |
| | | | | * haunt/builder/atom.scm (date->string*): Format in RFC-3339 style. | ||||
* | atom: Add 'id' attribute to feed and entries. | David Thompson | 2019-06-28 | 1 | -35/+46 |
| | |||||
* | site: Add scheme field. | David Thompson | 2019-06-28 | 1 | -2/+7 |
| | | | | | * haunt/site.scm (<site>)[scheme]: New field. (site): Add #:scheme keyword argument. | ||||
* | reader: html: Add support for multiple top-level elements. | Jakob L. Kreuze | 2019-05-21 | 1 | -2/+11 |
| | | | | | Currently, if given a file containing more than one top-level elements, 'read-html-post will only return the first. | ||||
* | reader: skribe: Add additional HTML 5 tags. | humanitiesNerd | 2019-01-05 | 1 | -2/+6 |
| | | | | * haunt/skribe/utils.scm (h5 h6 section nav aside): New procedures. | ||||
* | atom: links should use href attribute, not url attribute. | Christopher Lemmer Webber | 2018-11-29 | 1 | -1/+1 |
| | | | | | * haunt/builder/atom.scm (post->atom-entry): Switch url attribute to href attribute. | ||||
* | Add RSS support. | Christopher Lemmer Webber | 2018-11-25 | 1 | -0/+107 |
| | | | | | * haunt/builder/rss.scm: New file with support for RSS feeds. * Makefile.am: Add it. | ||||
* | atom: Add support for enclosures. | David Thompson | 2018-11-18 | 1 | -2/+102 |
| | | | | | | | | | | | | The most notable use-case here is allowing Haunt to be used for podcasting. Thanks to Christopher Lemmer Webber for wanting to use Haunt to build their podcast Atom feed! * haunt/builder/atom.scm (<enclosure>): New record type. (make-enclosure, enclosure?, enclosure-title, enclosure-url, enclosure-extra, enclosure-mime-type, parse-enclosure): New procedures. (post->atom-entry): Render enclosures. | ||||
* | post: Add post-ref-all procedure. | David Thompson | 2018-11-18 | 1 | -0/+8 |
| | | | | * haunt/post.scm (post-ref-all): New procedure. | ||||
* | post: Fix export for register-metadata-parser! | David Thompson | 2018-11-18 | 1 | -1/+1 |
| | | | | | * haunt/post.scm: Fix typo preventing other modules from using register-metadata-parser! | ||||
* | serve: Fix 'file-extension' so that the right MIME type is chosen. | Ludovic Courtès | 2017-12-21 | 1 | -10/+4 |
| | | | | | | | | Reported by sirgazil at <https://lists.gnu.org/archive/html/guile-user/2017-12/msg00070.html>. * haunt/serve/mime-types.scm (%file-ext-regexp): Remove. (file-extension): Rewrite using 'string-rindex'. | ||||
* | html: Stop escaping apostrophes. | David Thompson | 2017-11-01 | 1 | -1/+0 |
| | | | | | | | | | | | This was breaking the rendering of documents like: '(p (@ (onclick "javascriptFunction('argmunent')"))) The single quotes would be escaped and then the onclick handler wouldn't work at all. * haunt/html.scm (%escape-codes): Remove apostrophe escape code. | ||||
* | ui: serve: Fix deprecation warning. | Jelle Licht | 2017-10-31 | 1 | -0/+1 |
| | | | | * haunt/ui/serve.scm: Add '(ice-9 threads)' module import. | ||||
* | Don't ignore a specified non-default port in 'haunt serve'. | Sudarshan S Chawathe | 2017-09-03 | 1 | -1/+1 |
| | | | | | Without this patch 'haunt serve' claims to use the specified non-default port, but in fact uses the default 8080 instead. | ||||
* | builder: atom: Provide a full URL for the "self" link. | Ludovic Courtès | 2016-11-01 | 1 | -1/+2 |
| | | | | | * haunt/builder/atom.scm (atom-feed): Use SITE's domain to generate a full URL for the "self" link. | ||||
* | reader: Add commonmark support. | Erik Edrosa | 2016-08-02 | 1 | -0/+37 |
| | | | | | | * haunt/reader/commonmark.scm: New file. * Makefile.am (SOURCES): Add it. * configure.ac: Check for guile-commonmark. | ||||
* | serve: Catch exceptions when rebuilding site. | David Thompson | 2016-04-21 | 1 | -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. |