Commit graph

17 commits

Author SHA1 Message Date
adnano a6daae817c templates/_default/atom.xml: Add required links
Entries must contain a alternate link if there is no content element.
2022-09-24 11:09:04 -04:00
adnano 6f5c3f52e8 templates/_default/index.gmi: Minor formatting nit 2022-02-09 19:07:03 -05:00
adnano 40d0833127 templates/_default/atom.xml: Fix feed URL 2022-02-09 13:31:59 -05:00
adnano 7013fe9fb9 site: Implement support for task URLs
Resolves #23
2021-10-02 19:20:50 -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
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 78e5bf51c6 Rename Path fields to Permalink 2021-05-21 17:08:36 -04:00
adnano de6b0258fc Move templates to templates/_default 2021-05-10 15:03:02 -04:00
adnano bfc758430b Update default atom.xml template 2021-05-10 01:08:39 -04:00
adnano 27684b26f3 Write default templates when creating a new site 2021-04-21 14:03:43 -04:00
adnano 713f2e33c8 Fix unclosed tags in Atom template 2020-11-27 19:06:38 -05:00
adnano d10b827ac0 Allow specifying multiple site URLs 2020-11-27 18:24:31 -05:00
adnano 9676566325 Remove directory links from default index template 2020-11-25 10:12:39 -05:00
adnano b03f8f3b00 Remove site title from default page template 2020-11-24 20:09:55 -05:00
adnano 7f192dcaba Add default templates 2020-11-24 20:08:31 -05:00