adnano
3d9438be7f
Show the task for which the error occured
2022-09-24 11:42:16 -04:00
adnano
7b679a2e84
Simplify error handling for static content
2022-09-24 11:40:48 -04:00
Duncan Bayne
d1104cc712
Display detailed error message on static build failure
...
Fixes: https://todo.sr.ht/~adnano/kiln/29
2022-09-24 11:13:33 -04:00
adnano
0301276c75
Remove version command
2022-07-06 08:59:49 -04:00
adnano
74cb6c4c4f
Use io/fs
2022-02-09 13:18:11 -05:00
adnano
3aee5385e9
Use path/filepath instead of path
2022-02-09 12:39:15 -05:00
adnano
e3a39e45ee
site: Expose root page to templates
2022-02-09 12:29:41 -05:00
adnano
13ff1a687c
site: Set URL for root directory
2022-02-09 09:22:14 -05:00
adnano
859fa26478
Preserve mode bits for static files
...
Fixes: https://todo.sr.ht/~adnano/kiln/25
2021-11-25 11:44:01 -05:00
adnano
7013fe9fb9
site: Implement support for task URLs
...
Resolves #23
2021-10-02 19:20:50 -04:00
adnano
250ff9131f
Merge Page and Dir structs
2021-10-02 18:03:30 -04:00
adnano
d300bc23c0
dir: Combine handling of feeds and deprecated feeds
2021-09-03 00:23:00 -04:00
oliverpool
2ef8f77d24
tasks: add tasks.feeds support
...
Every task can now have a [[tasks.feeds]] entry to generate one or more feeds.
It must have the following arguments:
[[tasks.feeds]]
input_dir = ""
title = "Example feed"
template = "atom.xml"
output = "atom.xml"
2021-09-02 19:25:32 -04:00
oliverpool
c67f45b15e
fix: prevent panic when static_dir does not exist
2021-08-25 08:05:14 -04:00
adnano
78e5bf51c6
Rename Path fields to Permalink
2021-05-21 17:08:36 -04:00
adnano
4b23a11d0b
Fix index page for new sites
2021-05-17 12:55:15 -04:00
adnano
0e54f9eec5
Add dir and page functions and fix partial function
2021-05-14 00:17:10 -04:00
adnano
200153e486
kiln new: Create public directory
2021-05-12 01:49:16 -04:00
adnano
de6b0258fc
Move templates to templates/_default
2021-05-10 15:03:02 -04:00
adnano
66ac6015c9
Implement support for permalinks
2021-05-10 11:09:16 -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
f7bfe681d9
Remove redundant function
2021-05-10 00:54:13 -04:00
adnano
86ab6169a5
Implement support for base templates
2021-05-09 19:42:06 -04:00
adnano
27684b26f3
Write default templates when creating a new site
2021-04-21 14:03:43 -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
133b371e4c
Fix build flag parsing
2021-04-20 16:12:52 -04:00
adnano
3dfdf507dc
Add 'kiln new' command
2021-04-20 16:00:39 -04:00
adnano
413748e6e2
Add -v flag to print version
2021-04-12 00:31:55 -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
a7e8568b1e
Allow specifying which task to run
2021-04-11 16:00:29 -04:00
adnano
feb0c77d66
Add initial implementation of build tasks
2021-03-20 23:17:58 -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
9154319862
Add Format interface
2021-02-27 21:53:16 -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
f1d0710f95
Add -format flag
2021-02-27 15:34:05 -05:00
adnano
7a5093b046
Fix template lookup
2020-11-27 18:49:53 -05:00
adnano
71f415e54d
Add trailing slash to page paths
2020-11-25 14:31:58 -05:00
adnano
f14999d88a
Add support for Gemini feeds
2020-11-20 12:07:38 -05:00
adnano
84bd1fa71c
Fix build error
2020-11-10 19:35:56 -05:00
adnano
99e1906d90
Implement frontmatter and site configuration
2020-11-10 19:33:45 -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