Adnan Maolood
f87fa392d5
site: Implement support for task URLs
...
Resolves #23
2021-10-02 19:20:50 -04:00
Adnan Maolood
45d2f0e4cb
Merge Page and Dir structs
2021-10-02 18:03:30 -04:00
Adnan Maolood
3b04218396
dir: Combine handling of feeds and deprecated feeds
2021-09-03 00:23:00 -04:00
oliverpool
66f25b0b3c
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
b4749b3d64
fix: prevent panic when static_dir does not exist
2021-08-25 08:05:14 -04:00
Adnan Maolood
b0b15146f9
Rename Path fields to Permalink
2021-05-21 17:08:36 -04:00
Adnan Maolood
820ab25a26
Fix index page for new sites
2021-05-17 12:55:15 -04:00
Adnan Maolood
8a9cff4c2e
Add dir and page functions and fix partial function
2021-05-14 00:17:10 -04:00
Adnan Maolood
0891b2e0e0
kiln new: Create public directory
2021-05-12 01:49:16 -04:00
Adnan Maolood
01815ec49d
Move templates to templates/_default
2021-05-10 15:03:02 -04:00
Adnan Maolood
db44d5fcf8
Implement support for permalinks
2021-05-10 11:09:16 -04:00
Adnan Maolood
23ac0dd4c1
dir: Make methods private
2021-05-10 10:35:54 -04:00
Adnan Maolood
c0d44a791b
config: Make tasks an array
2021-05-10 10:26:12 -04:00
Adnan Maolood
f74b9b72af
Remove redundant function
2021-05-10 00:54:13 -04:00
Adnan Maolood
eca5dda9d6
Implement support for base templates
2021-05-09 19:42:06 -04:00
Adnan Maolood
793116c853
Write default templates when creating a new site
2021-04-21 14:03:43 -04:00
Adnan Maolood
4cc4546526
Implement support for preprocess command
2021-04-20 21:28:31 -04:00
Adnan Maolood
99f11c2876
Fix copying of static files nested in directories
2021-04-20 17:51:21 -04:00
Adnan Maolood
7c809876ff
Fix build flag parsing
2021-04-20 16:12:52 -04:00
Adnan Maolood
c9004640db
Add 'kiln new' command
2021-04-20 16:00:39 -04:00
Adnan Maolood
580cc88e8a
Add -v flag to print version
2021-04-12 00:31:55 -04:00
Adnan Maolood
9b22f351c6
config: Tweak variable names
2021-04-11 18:46:57 -04:00
Adnan Maolood
08a6823148
Implement static directory support
2021-04-11 17:54:51 -04:00
Adnan Maolood
212970aa30
Allow specifying which task to run
2021-04-11 16:00:29 -04:00
Adnan Maolood
ace33d8b1e
Add initial implementation of build tasks
2021-03-20 23:17:58 -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
3482e86055
Add Format interface
2021-02-27 21:53:16 -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
2b0f97f3cb
Add -format flag
2021-02-27 15:34:05 -05:00
Adnan Maolood
be14245284
Fix template lookup
2020-11-27 18:49:53 -05:00
Adnan Maolood
45d08ce8fb
Add trailing slash to page paths
2020-11-25 14:31:58 -05:00
Adnan Maolood
804de9b94d
Add support for Gemini feeds
2020-11-20 12:07:38 -05:00
Adnan Maolood
246bfd0033
Fix build error
2020-11-10 19:35:56 -05:00
Adnan Maolood
8ce3f5c0bd
Implement frontmatter and site configuration
2020-11-10 19:33:45 -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
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
adnano
399e543b4a
Refactor
2020-09-29 21:32:17 -04:00
adnano
531b92f191
Implement Atom feed output
2020-09-29 16:42:27 -04:00
adnano
772b801eea
Sort pages by date
2020-09-29 11:22:54 -04:00
adnano
fb1b053da4
Improve HTML renderer
2020-09-29 10:57:15 -04:00
adnano
82a5490ff5
Add -serve flag
2020-09-28 19:54:48 -04:00
adnano
e00ca65aee
Remove titles and dates from pages
2020-09-22 21:11:56 -04:00
adnano
d0713476c0
Refactor
2020-09-22 19:46:30 -04:00