Commit graph

93 commits

Author SHA1 Message Date
Adnan Maolood f6b2772c73 Revert "Switch to other toml library"
This reverts commit bf4ad9816e.
2021-03-20 20:35:48 -04:00
Adnan Maolood 583f9f1629 config: Remove mediatypes 2021-03-20 16:29:06 -04:00
Adnan Maolood bf4ad9816e Switch to other toml library 2021-03-20 02:42:05 -04:00
Adnan Maolood e09cf02997 Rename layouts directory to templates 2021-03-20 02:19:00 -04:00
Adnan Maolood ce4b4406c7 config: Use toml for configuration 2021-03-20 02:02:38 -04:00
Adnan Maolood acfe42c25f Fix Gemini content output path 2021-03-19 23:44:02 -04:00
Adnan Maolood a2d35e790b config: Rename urls to url 2021-03-19 23:38:10 -04:00
Adnan Maolood 989789118c Update documentation 2021-02-28 12:17:10 -05:00
Adnan Maolood 4d0c22a521 Mention that Go 1.16 is required in README.md 2021-02-28 12:14:23 -05:00
Adnan Maolood f1c9d804f8 Reorganize example site 2021-02-28 12:07:48 -05:00
Adnan Maolood 3eac76fe8a 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
Adnan Maolood 3482e86055 Add Format interface 2021-02-27 21:53:16 -05:00
Adnan Maolood b6bc412de4 config: Add mediatypes section 2021-02-27 21:45:37 -05:00
Adnan Maolood faae5cc44d page: Don't hardcode .gmi file extension 2021-02-27 21:42:37 -05:00
Adnan Maolood 81e1bf4643 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
Adnan Maolood d565d4b8c8 Embed built-in templates with embed.FS 2021-02-27 15:56:23 -05:00
Adnan Maolood 00761632a9 Require Go 1.16 2021-02-27 15:34:52 -05:00
Adnan Maolood 2b0f97f3cb Add -format flag 2021-02-27 15:34:05 -05:00
Adnan Maolood fad895cfe6 Bump version in Makefile 2021-01-19 18:57:57 -05:00
Adnan Maolood df62566bc9 Fix documentation about site URLs 2020-12-21 16:42:11 -05:00
Adnan Maolood 5163c7711f Improve configuration of multiple URLs 2020-12-21 16:41:05 -05:00
Adnan Maolood d91de5881c Fix unclosed tags in Atom template 2020-11-27 19:06:38 -05:00
Adnan Maolood be14245284 Fix template lookup 2020-11-27 18:49:53 -05:00
Adnan Maolood f519317ebd Update README.md 2020-11-27 18:26:36 -05:00
Adnan Maolood 7760b5529e Allow specifying multiple site URLs 2020-11-27 18:24:31 -05:00
Adnan Maolood 3c7ffaa095 Update documentation 2020-11-25 14:33:07 -05:00
Adnan Maolood 45d08ce8fb Add trailing slash to page paths 2020-11-25 14:31:58 -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 121b91990a Add default templates 2020-11-24 20:08:31 -05:00
Adnan Maolood 4c2d9a7f5a Add note about Go templates 2020-11-24 20:02:42 -05:00
Adnan Maolood 81c9b8aed2 Add note about source directory contents 2020-11-24 19:51:29 -05:00
Adnan Maolood e43744b2c1 Add note about site URLs 2020-11-22 16:07:37 -05:00
Adnan Maolood 19f8d156b4 Fix documentation 2020-11-22 15:55:06 -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 832aed7ff2 Add example site 2020-11-20 15:06:11 -05:00
Adnan Maolood b4c3d7f442 Provide index file metadata to index templates 2020-11-20 15:03:41 -05:00
Adnan Maolood 804de9b94d Add support for Gemini feeds 2020-11-20 12:07:38 -05:00
Adnan Maolood c87f909cb1 Use GPLv3 license 2020-11-10 19:39:56 -05:00
Adnan Maolood 246bfd0033 Fix build error 2020-11-10 19:35:56 -05:00
Adnan Maolood 66b93d7299 Add documentation 2020-11-10 19:34:05 -05:00
Adnan Maolood 8ce3f5c0bd Implement frontmatter and site configuration 2020-11-10 19:33:45 -05:00
Adnan Maolood fbe8122ebd Add Makefile 2020-11-01 20:51:43 -05:00
Adnan Maolood c3d0748d27 Update go-gemini dependency 2020-11-01 00:54:07 -04:00
Adnan Maolood 03ab105538 Update go-gemini dependency 2020-10-29 00:48:40 -04:00
Adnan Maolood 7ab4d3df87 Update go-gemini dependency 2020-10-26 15:18:26 -04:00
Adnan Maolood 078d08e23a Update dependency 2020-10-24 17:11:30 -04:00
adnano 101ed843b8 Use gmi (Text).HTML function 2020-10-15 00:42:17 -04:00
adnano fa7c320822 Update gmi dependency 2020-10-13 21:12:47 -04:00