1
0
Fork 0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-05-28 22:16:08 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
Adnan Maolood 8a9cff4c2e Add dir and page functions and fix partial function 2021-05-14 00:17:10 -04:00
Adnan Maolood 39f456d3ec templates: Return error from LoadTemplate 2021-05-13 23:56:52 -04:00
Adnan Maolood 74a4582a8b templates: Parse all templates in the directory
To allow for specifying custom templates in frontmatter in the future.
2021-05-12 03:35:54 -04:00
Adnan Maolood fbba43c705 Revert "Use text/template for Atom feed template"
This reverts commit c285fe4ff8.
2021-05-10 00:56:27 -04:00
Adnan Maolood c285fe4ff8 Use text/template for Atom feed template 2021-05-09 19:58:56 -04:00
Adnan Maolood eca5dda9d6 Implement support for base templates 2021-05-09 19:42:06 -04:00
Adnan Maolood 2301158ba1 Implement support for HTML templates 2021-05-01 14:11:41 -04:00
Adnan Maolood 6ec7b09c3a Implement support for partial templates 2021-05-01 13:56:44 -04:00
Adnan Maolood b58deee457 Make templates optional 2021-04-21 14:39:13 -04:00
Adnan Maolood 793116c853 Write default templates when creating a new site 2021-04-21 14:03:43 -04:00
Adnan Maolood c9004640db Add 'kiln new' command 2021-04-20 16:00:39 -04:00
Adnan Maolood ace33d8b1e Add initial implementation of build tasks 2021-03-20 23:17:58 -04:00
Adnan Maolood d565d4b8c8 Embed built-in templates with embed.FS 2021-02-27 15:56:23 -05:00
Adnan Maolood d91de5881c Fix unclosed tags in Atom template 2020-11-27 19:06:38 -05:00
Adnan Maolood 7760b5529e Allow specifying multiple site URLs 2020-11-27 18:24:31 -05:00
Adnan Maolood 134f38bb58 Remove directory links from default index template 2020-11-25 10:12:39 -05:00
Adnan Maolood 92463aff4f Remove site title from default page template 2020-11-24 20:09:55 -05:00
Adnan Maolood e4b1fcef89 Allow overriding the default templates 2020-11-22 15:51:07 -05:00
Adnan Maolood aeea076d42 Implement atom feeds 2020-11-22 15:14:50 -05:00
Adnan Maolood 804de9b94d Add support for Gemini feeds 2020-11-20 12:07:38 -05:00
Adnan Maolood 8ce3f5c0bd Implement frontmatter and site configuration 2020-11-10 19:33:45 -05:00
adnano 919cdd7556 Refactor 2020-09-30 21:57:59 -04:00
adnano bc514e7f67 Fix updated date in Atom feeds 2020-09-30 00:27:59 -04:00
adnano 399e543b4a Refactor 2020-09-29 21:32:17 -04:00
adnano 531b92f191 Implement Atom feed output 2020-09-29 16:42:27 -04:00