Commit graph

12 commits

Author SHA1 Message Date
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 7013fe9fb9 site: Implement support for task URLs
Resolves #23
2021-10-02 19:20:50 -04:00
adnano 250ff9131f Merge Page and Dir structs 2021-10-02 18:03:30 -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 b0cf8c0713 site: Clean up deprecation warning 2021-09-03 00:45:12 -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
adnano 4c3422c93a Support [params] in site config 2021-06-26 02:09:55 -04:00
adnano 0e54f9eec5 Add dir and page functions and fix partial function 2021-05-14 00:17:10 -04:00
Renamed from config.go (Browse further)