Commit graph

236 commits

Author SHA1 Message Date
adnano a5b2fe82ba docs: Improve page documentation 2022-02-09 01:40:03 -05:00
adnano d6f8c03ec3 page: Fallback to base template for page/index templates
Implements: https://todo.sr.ht/~adnano/kiln/22
2022-02-09 00:40:28 -05:00
adnano fb6470aa5f Use github.com/google/shlex to parse commands
Implements: https://todo.sr.ht/~adnano/kiln/21
2022-02-09 00:30:45 -05:00
adnano 7f342d411b docs: Update frontmatter example 2022-02-09 00:04:39 -05:00
adnano 7d0dcae66e docs: Update example configuration 2022-02-09 00:02:53 -05:00
adnano 25abdfe285 docs: Add note 2022-02-08 23:54:59 -05:00
adnano fd215a1c7f docs: Update template variables 2022-02-08 23:52:06 -05:00
adnano 859fa26478 Preserve mode bits for static files
Fixes: https://todo.sr.ht/~adnano/kiln/25
2021-11-25 11:44:01 -05:00
adnano d2967cb82b docs: Tweak wording 2021-10-02 21:22:54 -04:00
adnano 7013fe9fb9 site: Implement support for task URLs
Resolves #23
2021-10-02 19:20:50 -04:00
adnano 762fe469c4 page: Fix output path for index pages 2021-10-02 18:31:22 -04:00
adnano 5f16ca42d5 page: Sort Dirs 2021-10-02 18:08:11 -04:00
adnano 250ff9131f Merge Page and Dir structs 2021-10-02 18:03:30 -04:00
adnano 76145e1f05 config.toml: Remove urls config option 2021-10-02 17:27:29 -04:00
adnano 1e18cdc4b3 atom.xml: Remove unused variable 2021-10-02 17:01:43 -04:00
adnano 0b253d56b4 site: Remove support for site URLs 2021-10-02 16:59:36 -04:00
adnano 928e336122 site: Add Generated variable
This also removes the need for the feed Updated variable.
2021-10-02 16:25:05 -04:00
adnano d3fddff4e6 Remove support for deprecated feeds 2021-10-02 16:19:08 -04:00
adnano 1d78b726d5 docs: Move feeds after tasks 2021-09-03 01:04:06 -04:00
adnano b0cf8c0713 site: Clean up deprecation warning 2021-09-03 00:45:12 -04:00
adnano bfdbace471 dir: Return errors from executing process commands 2021-09-03 00:31:10 -04:00
adnano d300bc23c0 dir: Combine handling of feeds and deprecated feeds 2021-09-03 00:23:00 -04:00
adnano bad156cad3 dir: Avoid looping through all the feeds
Maintain a map of feeds to avoid looping through all the configured
feeds for a task.
2021-09-02 23:41:54 -04:00
oliverpool 2ef8f77d24 tasks: add tasks.feeds support
Every task can now have a [[tasks.feeds]] entry to generate one or more feeds.
It must have the following arguments:

[[tasks.feeds]]
input_dir = ""
title = "Example feed"
template = "atom.xml"
output = "atom.xml"
2021-09-02 19:25:32 -04:00
earnest ma d5f85931ea Makefile: Adjust man page file permissions 2021-08-25 15:13:21 -04:00
oliverpool c67f45b15e fix: prevent panic when static_dir does not exist 2021-08-25 08:05:14 -04:00
adnano e53cf41aa0 docs: Remove unrelated code snippet 2021-06-26 15:10:46 -04:00
adnano 324e74866e docs: Document site params 2021-06-26 15:10:08 -04:00
adnano 4c3422c93a Support [params] in site config 2021-06-26 02:09:55 -04:00
adnano 53c715bdc2 Update README.md 2021-06-26 02:09:15 -04:00
Robert-André Mauchin 0142350988 Add missing DESTDIR in man page installation 2021-06-15 15:55:14 -04:00
adnano 5f80d73a75 docs: Document exec function 2021-05-22 20:48:21 -04:00
adnano 40322facd2 funcs: Add exec 2021-05-22 20:41:52 -04:00
adnano bc7174e9e7 Bump version to 0.2.0 2021-05-21 17:34:28 -04:00
adnano 81f36593e8 docs: Document page fields 2021-05-21 17:31:32 -04:00
adnano 78e5bf51c6 Rename Path fields to Permalink 2021-05-21 17:08:36 -04:00
adnano c4a282eba7 Makefile: Fix prerequisites 2021-05-21 16:59:20 -04:00
adnano 9e15d6c26e docs: Update frontmatter documentation 2021-05-21 16:53:05 -04:00
adnano a4a8600c1e docs: Update documentation 2021-05-21 16:41:35 -04:00
adnano 62d414af39 dir: Add Params method 2021-05-20 15:59:43 -04:00
Ian M. Jones 5592026db7 Fix post ordering by Weight, reversed Date and FilePath. 2021-05-18 20:28:00 -04:00
adnano 4b23a11d0b Fix index page for new sites 2021-05-17 12:55:15 -04:00
adnano 5bfc0f7d77 dir: Sort pages by date in reverse order 2021-05-17 12:53:35 -04:00
adnano 98be92555b docs: Document built-in functions 2021-05-17 12:41:37 -04:00
adnano ccb043d09e docs: Document strings functions 2021-05-17 12:25:51 -04:00
adnano 5de22344c8 docs: Document reverse function 2021-05-17 11:52:54 -04:00
adnano 6adfcae48d dir: Fix creation of atom template directory 2021-05-15 21:27:11 -04:00
adnano 9f0a4d822e dir: Don't create unnecessary directories 2021-05-15 21:24:01 -04:00
adnano 13b3d24738 dir: Fix atom template output path 2021-05-15 21:04:15 -04:00
Ian M. Jones bdc6c7632b Fix kiln.1 not building due to syntax error. 2021-05-14 21:18:53 -04:00