Adnan Maolood
|
820ab25a26
|
Fix index page for new sites
|
2021-05-17 12:55:15 -04:00 |
|
Adnan Maolood
|
2e5ed347ea
|
dir: Sort pages by date in reverse order
|
2021-05-17 12:53:35 -04:00 |
|
Adnan Maolood
|
2b5f585ce2
|
docs: Document built-in functions
|
2021-05-17 12:41:37 -04:00 |
|
Adnan Maolood
|
73acb06c43
|
docs: Document strings functions
|
2021-05-17 12:25:51 -04:00 |
|
Adnan Maolood
|
a1d220f13f
|
docs: Document reverse function
|
2021-05-17 11:52:54 -04:00 |
|
Adnan Maolood
|
277842223e
|
dir: Fix creation of atom template directory
|
2021-05-15 21:27:11 -04:00 |
|
Adnan Maolood
|
5eb242f77d
|
dir: Don't create unnecessary directories
|
2021-05-15 21:24:01 -04:00 |
|
Adnan Maolood
|
495941a8cb
|
dir: Fix atom template output path
|
2021-05-15 21:04:15 -04:00 |
|
Ian M. Jones
|
b20ffe0d41
|
Fix kiln.1 not building due to syntax error.
|
2021-05-14 21:18:53 -04:00 |
|
Adnan Maolood
|
89ee78c678
|
docs: Document permalinks
|
2021-05-14 00:28:41 -04:00 |
|
Adnan Maolood
|
8a9cff4c2e
|
Add dir and page functions and fix partial function
|
2021-05-14 00:17:10 -04:00 |
|
Adnan Maolood
|
39f456d3ec
|
templates: Return error from LoadTemplate
|
2021-05-13 23:56:52 -04:00 |
|
Adnan Maolood
|
07a54e89dd
|
funcs: Add reverse
|
2021-05-12 17:10:19 -04:00 |
|
Adnan Maolood
|
da78298c3e
|
dir: Sort by weight, date, and filepath
|
2021-05-12 16:35:00 -04:00 |
|
Adnan Maolood
|
9f0f776769
|
Add FilePath and Weight field to pages
|
2021-05-12 16:22:49 -04:00 |
|
Adnan Maolood
|
e1894f0e52
|
dir: Fix assignment of Prev field
|
2021-05-12 16:20:19 -04:00 |
|
Adnan Maolood
|
b250f9e4c5
|
Fix index page paths
|
2021-05-12 15:29:13 -04:00 |
|
Adnan Maolood
|
3571ef67c1
|
Use _index for index pages
Pages with the name "index" will use the page template, and pages with
the name "_index" will use the index template.
|
2021-05-12 15:25:42 -04:00 |
|
Adnan Maolood
|
a32b5c7493
|
page: Add Prev and Next fields
|
2021-05-12 15:10:40 -04:00 |
|
Adnan Maolood
|
74a4582a8b
|
templates: Parse all templates in the directory
To allow for specifying custom templates in frontmatter in the future.
|
2021-05-12 03:35:54 -04:00 |
|
Adnan Maolood
|
0891b2e0e0
|
kiln new: Create public directory
|
2021-05-12 01:49:16 -04:00 |
|
Adnan Maolood
|
e167825499
|
docs: Remove link to TOML website
|
2021-05-10 15:43:15 -04:00 |
|
Adnan Maolood
|
462cbe442a
|
Update example site configuration
|
2021-05-10 15:15:33 -04:00 |
|
Adnan Maolood
|
aee95d68d0
|
Update documentation
|
2021-05-10 15:09:23 -04:00 |
|
Adnan Maolood
|
01815ec49d
|
Move templates to templates/_default
|
2021-05-10 15:03:02 -04:00 |
|
Adnan Maolood
|
7645acdcbd
|
Move funcs to funcs.go
|
2021-05-10 15:01:22 -04:00 |
|
Adnan Maolood
|
e096623590
|
Add strings.Join function
|
2021-05-10 13:21:43 -04:00 |
|
Adnan Maolood
|
f25f0125d3
|
Add string functions for use in templates
|
2021-05-10 13:11:10 -04:00 |
|
Adnan Maolood
|
d7929490ed
|
Update documentation
|
2021-05-10 12:47:38 -04:00 |
|
Adnan Maolood
|
4e47940307
|
Allow multiple input formats per task
|
2021-05-10 12:23:29 -04:00 |
|
Adnan Maolood
|
d25dc206ff
|
Use other toml library
|
2021-05-10 12:16:19 -04:00 |
|
Adnan Maolood
|
28d241980a
|
Expose path functions to permalinks
|
2021-05-10 11:31:32 -04:00 |
|
Adnan Maolood
|
d1ab0d1aae
|
Fix path functions
|
2021-05-10 11:30:28 -04:00 |
|
Adnan Maolood
|
29795fa5b1
|
Add path functions for use in templates
|
2021-05-10 11:12:28 -04:00 |
|
Adnan Maolood
|
db44d5fcf8
|
Implement support for permalinks
|
2021-05-10 11:09:16 -04:00 |
|
Adnan Maolood
|
1af6d1a492
|
page: Remove Name field
|
2021-05-10 11:02:43 -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
|
492a15cfb6
|
Update default atom.xml template
|
2021-05-10 01:08:39 -04:00 |
|
Adnan Maolood
|
fbba43c705
|
Revert "Use text/template for Atom feed template"
This reverts commit c285fe4ff8 .
|
2021-05-10 00:56:27 -04:00 |
|
Adnan Maolood
|
f74b9b72af
|
Remove redundant function
|
2021-05-10 00:54:13 -04:00 |
|
Adnan Maolood
|
7b634acde8
|
Add safeHTML, safeCSS, etc. functions
|
2021-05-10 00:50:29 -04:00 |
|
Adnan Maolood
|
ebd42737c9
|
Implement support for ugly URLs
|
2021-05-10 00:44:25 -04:00 |
|
Adnan Maolood
|
c285fe4ff8
|
Use text/template for Atom feed template
|
2021-05-09 19:58:56 -04:00 |
|
Adnan Maolood
|
eca5dda9d6
|
Implement support for base templates
|
2021-05-09 19:42:06 -04:00 |
|
Adnan Maolood
|
b2ca453750
|
Extract frontmatter before preprocessing
|
2021-05-09 16:14:53 -04:00 |
|
Adnan Maolood
|
19852f9e3b
|
Add html function for rendering HTML in templates
|
2021-05-08 20:28:45 -04:00 |
|
Adnan Maolood
|
a58ed86fcd
|
config: Make templates private
|
2021-05-08 20:27:49 -04:00 |
|
Adnan Maolood
|
a6f582f284
|
page: Add Name field
|
2021-05-01 14:34:25 -04:00 |
|
Adnan Maolood
|
2301158ba1
|
Implement support for HTML templates
|
2021-05-01 14:11:41 -04:00 |
|