Commit graph

128 commits

Author SHA1 Message Date
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
adnano f2f4d09146 Update go-gemini dependency 2021-03-20 20:37:32 -04:00
adnano e8b6930d3b Revert "Switch to other toml library"
This reverts commit d7e9f5e7c2.
2021-03-20 20:35:48 -04:00
adnano 6e7575fdc2 config: Remove mediatypes 2021-03-20 16:29:06 -04:00
adnano d7e9f5e7c2 Switch to other toml library 2021-03-20 02:42:05 -04:00
adnano eee2bca75c Rename layouts directory to templates 2021-03-20 02:19:00 -04:00
adnano c7adb5fef1 config: Use toml for configuration 2021-03-20 02:02:38 -04:00
adnano fd187da71d Fix Gemini content output path 2021-03-19 23:44:02 -04:00
adnano c382c296c8 config: Rename urls to url 2021-03-19 23:38:10 -04:00
adnano 59dd1796a0 Update documentation 2021-02-28 12:17:10 -05:00
adnano 1843d0279b Mention that Go 1.16 is required in README.md 2021-02-28 12:14:23 -05:00
adnano 62894400b0 Reorganize example site 2021-02-28 12:07:48 -05:00
adnano 1ff05f49f5 html: Make textToHTML accept an io.Reader
Use gemini.ParseLines to convert the Gemini text to HTML in one pass.
2021-02-27 22:02:45 -05:00
adnano 9154319862 Add Format interface 2021-02-27 21:53:16 -05:00
adnano abfd442ab5 config: Add mediatypes section 2021-02-27 21:45:37 -05:00
adnano 13b9b8c520 page: Don't hardcode .gmi file extension 2021-02-27 21:42:37 -05:00
adnano e3a479f921 Use content, public, and layouts directories
Use content, public, and layouts instead of src, dst, and templates.
2021-02-27 21:41:21 -05:00