1
0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-12-04 06:38:18 +01:00
Commit Graph

241 Commits

Author SHA1 Message Date
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
adnano
7ee6591e9c Embed built-in templates with embed.FS 2021-02-27 15:56:23 -05:00
adnano
6ab9313c6d Require Go 1.16 2021-02-27 15:34:52 -05:00
adnano
f1d0710f95 Add -format flag 2021-02-27 15:34:05 -05:00
adnano
6e8f7cfdaa Bump version in Makefile 2021-01-19 18:57:57 -05:00
adnano
22057adaf1 Fix documentation about site URLs 0.1.0 2020-12-21 16:42:11 -05:00
adnano
08077605ac Improve configuration of multiple URLs 2020-12-21 16:41:05 -05:00
adnano
713f2e33c8 Fix unclosed tags in Atom template 2020-11-27 19:06:38 -05:00
adnano
7a5093b046 Fix template lookup 2020-11-27 18:49:53 -05:00
adnano
943499c3d6 Update README.md 2020-11-27 18:26:36 -05:00
adnano
d10b827ac0 Allow specifying multiple site URLs 2020-11-27 18:24:31 -05:00
adnano
9990f10f8e Update documentation 2020-11-25 14:33:07 -05:00
adnano
71f415e54d Add trailing slash to page paths 2020-11-25 14:31:58 -05:00
adnano
9676566325 Remove directory links from default index template 2020-11-25 10:12:39 -05:00
adnano
b03f8f3b00 Remove site title from default page template 2020-11-24 20:09:55 -05:00
adnano
7f192dcaba Add default templates 2020-11-24 20:08:31 -05:00
adnano
ecde4b8fa5 Add note about Go templates 2020-11-24 20:02:42 -05:00
adnano
43210da6e0 Add note about source directory contents 2020-11-24 19:51:29 -05:00
adnano
5e10f3e430 Add note about site URLs 2020-11-22 16:07:37 -05:00
adnano
d628a6e2aa Fix documentation 2020-11-22 15:55:06 -05:00
adnano
c88537891c Allow overriding the default templates 2020-11-22 15:51:07 -05:00
adnano
fe4dcb144e Implement atom feeds 2020-11-22 15:14:50 -05:00
adnano
491b4637c1 Add example site 2020-11-20 15:06:11 -05:00
adnano
afacbfafa1 Provide index file metadata to index templates 2020-11-20 15:03:41 -05:00
adnano
f14999d88a Add support for Gemini feeds 2020-11-20 12:07:38 -05:00
adnano
3c4d934f55 Use GPLv3 license 2020-11-10 19:39:56 -05:00
adnano
84bd1fa71c Fix build error 2020-11-10 19:35:56 -05:00
adnano
b2aeb6d05d Add documentation 2020-11-10 19:34:05 -05:00
adnano
99e1906d90 Implement frontmatter and site configuration 2020-11-10 19:33:45 -05:00
adnano
7b6efd6fb8 Add Makefile 2020-11-01 20:51:43 -05:00
adnano
26e6a0b05b Update go-gemini dependency 2020-11-01 00:54:07 -04:00
adnano
84fde17123 Update go-gemini dependency 2020-10-29 00:48:40 -04:00
adnano
5bdbb822e3 Update go-gemini dependency 2020-10-26 15:18:26 -04:00
adnano
1c640990a2 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
adnano
e662a70990 Search for templates recursively 2020-09-30 22:14:10 -04:00
adnano
919cdd7556 Refactor 2020-09-30 21:57:59 -04:00