Commit graph

262 commits

Author SHA1 Message Date
adnano 69f39d7303 Add path functions for use in templates 2021-05-10 11:12:28 -04:00
adnano 66ac6015c9 Implement support for permalinks 2021-05-10 11:09:16 -04:00
adnano e8e47f1bad page: Remove Name field 2021-05-10 11:02:43 -04:00
adnano cf7a24bb6c dir: Make methods private 2021-05-10 10:35:54 -04:00
adnano ef3d518d9a config: Make tasks an array 2021-05-10 10:26:12 -04:00
adnano bfc758430b Update default atom.xml template 2021-05-10 01:08:39 -04:00
adnano 8064684827 Revert "Use text/template for Atom feed template"
This reverts commit ce0b2cff1e.
2021-05-10 00:56:27 -04:00
adnano f7bfe681d9 Remove redundant function 2021-05-10 00:54:13 -04:00
adnano e976aa1be7 Add safeHTML, safeCSS, etc. functions 2021-05-10 00:50:29 -04:00
adnano d7567ca69f Implement support for ugly URLs 2021-05-10 00:44:25 -04:00
adnano ce0b2cff1e Use text/template for Atom feed template 2021-05-09 19:58:56 -04:00
adnano 86ab6169a5 Implement support for base templates 2021-05-09 19:42:06 -04:00
adnano 4736a6580e Extract frontmatter before preprocessing 2021-05-09 16:14:53 -04:00
adnano fa19a1746b Add html function for rendering HTML in templates 2021-05-08 20:28:45 -04:00
adnano 13b8bb7ff3 config: Make templates private 2021-05-08 20:27:49 -04:00
adnano 12ddad63e4 page: Add Name field 2021-05-01 14:34:25 -04:00
adnano fe4afb0d2b Implement support for HTML templates 2021-05-01 14:11:41 -04:00
adnano 3743589c38 Implement support for partial templates 2021-05-01 13:56:44 -04:00
adnano ff1e4eb29d docs: Fix example configuration 2021-04-26 17:50:36 -04:00
adnano 5be791ba7b Revert "Drop required Go version to 1.15"
This reverts commit e74558dd3a.
2021-04-26 14:55:47 -04:00
adnano e74558dd3a Drop required Go version to 1.15 2021-04-26 14:55:06 -04:00
adnano d7f1e11553 Update documentation 2021-04-26 14:49:39 -04:00
adnano 5be3306c6d dir: Pass Date to templates 2021-04-26 14:47:45 -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 47e1c2c0f5 Remove unused dependencies 2021-04-24 14:29:03 -04:00
adnano 4710f67ead Update documentation 2021-04-24 14:18:26 -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 81aac7692d frontmatter: Fix extraction algorithm 2021-04-24 13:24:31 -04:00
adnano 2d543b9c1e Add frontmatter extractor 2021-04-21 15:13:45 -04:00
adnano f054cdf391 Make templates optional 2021-04-21 14:39:13 -04:00
adnano 27684b26f3 Write default templates when creating a new site 2021-04-21 14:03:43 -04:00
adnano e4d3b016d8 page: Don't trim dates from paths without dates 2021-04-21 13:49:49 -04:00
adnano 38439877b9 Update documentation 2021-04-20 21:37:05 -04:00
adnano 20efed1e9a Implement support for preprocess command 2021-04-20 21:28:31 -04:00
adnano 91d9dc09fa Fix copying of static files nested in directories 2021-04-20 17:51:21 -04:00
adnano efbd6cba45 Makefile: Add dependency on config.toml and templates 2021-04-20 17:09:24 -04:00
adnano 6432a564d8 Makefile: Remove docs during clean 2021-04-20 17:05:05 -04:00
adnano 3b75b56539 Rename doc to docs 2021-04-20 16:57:05 -04:00
adnano ec052a7c4c Makefile: Use 'git describe' to name the version 2021-04-20 16:46:25 -04:00
adnano 95839fcf4c Remove default 'gemini' task 2021-04-20 16:16:12 -04:00
adnano 133b371e4c Fix build flag parsing 2021-04-20 16:12:52 -04:00
adnano 0109a33b11 Remove example site 2021-04-20 16:03:51 -04:00
adnano 3dfdf507dc Add 'kiln new' command 2021-04-20 16:00:39 -04:00
adnano 3bebd0bf12 doc: Use borderless tables 2021-04-20 15:54:52 -04:00
adnano 87c65818be Fix atom feed generation 2021-04-20 14:49:45 -04:00
adnano c9bf66a967 Document tasks 2021-04-12 11:09:14 -04:00
adnano 27fbca53f3 Remove unused code 2021-04-12 00:49:58 -04:00
adnano bd9bb1a046 Bump version to 0.1.0-dev 2021-04-12 00:37:28 -04:00
adnano 413748e6e2 Add -v flag to print version 2021-04-12 00:31:55 -04:00