Commit graph

244 commits

Author SHA1 Message Date
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
adnano 1458f336b4 docs: Remove unnecessary newline 2021-04-12 00:26:51 -04:00
adnano 68ae146361 Update documentation 2021-04-12 00:23:27 -04:00
adnano 02ca7d1549 Update README.md 2021-04-11 22:36:16 -04:00
adnano 2475d5f08e Map postprocess command stderr to os.Stderr 2021-04-11 20:18:30 -04:00
adnano 546f5cd6e3 Update example site configuration 2021-04-11 19:00:42 -04:00
adnano 48f84c1fac Update example site 2021-04-11 18:48:10 -04:00
adnano 71931dfa4e config: Tweak variable names 2021-04-11 18:46:57 -04:00
adnano 4ec169afdc Implement static directory support 2021-04-11 17:54:51 -04:00
adnano 5719af8727 dir: Don't index static files 2021-04-11 17:40:11 -04:00
adnano 9edacc1541 config: Implement support for postprocess commands 2021-04-11 17:23:01 -04:00
adnano 749fe58ccb Remove built-in geminiToHTML formatter 2021-04-11 17:13:06 -04:00
adnano a7e8568b1e Allow specifying which task to run 2021-04-11 16:00:29 -04:00
adnano 70795af4c8 Update go-gemini dependency 2021-04-11 15:35:26 -04:00
adnano c966e9f815 config: Create default configuration before parsing 2021-03-20 23:57:18 -04:00
adnano 713c1336fb Switch to other toml library 2021-03-20 23:54:55 -04:00
adnano d30faf0fcd config: Fix crash caused by nil map 2021-03-20 23:46:02 -04:00
adnano 72e9ba2d78 config: Rename task to tasks 2021-03-20 23:44:13 -04:00
adnano feb0c77d66 Add initial implementation of build tasks 2021-03-20 23:17:58 -04:00