Commit graph

11 commits

Author SHA1 Message Date
Adnan Maolood f87fa392d5 site: Implement support for task URLs
Resolves #23
2021-10-02 19:20:50 -04:00
Adnan Maolood 45d2f0e4cb Merge Page and Dir structs 2021-10-02 18:03:30 -04:00
Adnan Maolood 6eb5e45afa site: Remove support for site URLs 2021-10-02 16:59:36 -04:00
Adnan Maolood 686f6a78d6 site: Add Generated variable
This also removes the need for the feed Updated variable.
2021-10-02 16:25:05 -04:00
Adnan Maolood 5a674c0ea5 Remove support for deprecated feeds 2021-10-02 16:19:08 -04:00
Adnan Maolood 260de0842d site: Clean up deprecation warning 2021-09-03 00:45:12 -04:00
Adnan Maolood 3b04218396 dir: Combine handling of feeds and deprecated feeds 2021-09-03 00:23:00 -04:00
Adnan Maolood 7ba6930188 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 66f25b0b3c 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
Adnan Maolood df8dc102ae Support [params] in site config 2021-06-26 02:09:55 -04:00
Adnan Maolood 8a9cff4c2e Add dir and page functions and fix partial function 2021-05-14 00:17:10 -04:00
Renamed from config.go (Browse further)