1
0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-11-08 14:19:20 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
Edd Salkield
505244bea2 page.go: report error in template override failure
Raise an error when users specify a template in frontmatter which cannot
be resolved.
2022-10-04 11:08:11 -04:00
adnano
81e35cb1eb site: Configure permalinks per task 2022-10-01 15:25:13 -04:00
adnano
085ef5aded Implement support for per-page templates
Implements: https://todo.sr.ht/~adnano/kiln/28
2022-10-01 15:11:59 -04:00
adnano
f91cf56b32 page: Don't fallback to base template
Don't fallback to the base template when looking for page and index
templates.
2022-09-25 10:56:07 -04:00
adnano
299aa6cb5c page: Add GetPage function 2022-06-27 14:15:10 -04: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
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
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
4736a6580e Extract frontmatter before preprocessing 2021-05-09 16:14:53 -04:00
adnano
12ddad63e4 page: Add Name field 2021-05-01 14:34:25 -04:00
adnano
0a6d61eb5c page: Trim newlines after frontmatter 2021-04-26 12:01:46 -04:00
adnano
f4a603658e Improve error message on frontmatter parse error 2021-04-26 11:50:53 -04:00
adnano
fbf5d3c10d page: Implement frontmatter support
Also drop support for parsing titles from Gemini content.
2021-04-24 13:25:20 -04:00
adnano
e4d3b016d8 page: Don't trim dates from paths without dates 2021-04-21 13:49:49 -04:00
adnano
13b9b8c520 page: Don't hardcode .gmi file extension 2021-02-27 21:42:37 -05:00
adnano
71f415e54d Add trailing slash to page paths 2020-11-25 14:31:58 -05:00
adnano
f14999d88a Add support for Gemini feeds 2020-11-20 12:07:38 -05:00