1
0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-09-16 19:21:35 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
adnano
81e35cb1eb site: Configure permalinks per task 2022-10-01 15:25:13 -04:00
adnano
299aa6cb5c page: Add GetPage function 2022-06-27 14:15:10 -04:00
IMG-PRCSNG
f6461cab35 Update site params to a nested map 2022-03-05 13:31:35 -05:00
adnano
ecd9f72eeb page: Ability to specify build tasks per page
Implements: https://todo.sr.ht/~adnano/kiln/15
2022-02-09 15:52:22 -05:00
adnano
74cb6c4c4f Use io/fs 2022-02-09 13:18:11 -05:00
adnano
e3a39e45ee site: Expose root page to templates 2022-02-09 12:29:41 -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
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