Adnan Maolood
ec0209f928
page: Fix output path for index pages
2021-10-02 18:31:22 -04:00
Adnan Maolood
9ffb7c0b72
page: Sort Dirs
2021-10-02 18:08:11 -04:00
Adnan Maolood
45d2f0e4cb
Merge Page and Dir structs
2021-10-02 18:03:30 -04:00
Adnan Maolood
c0fcac882a
config.toml: Remove urls config option
2021-10-02 17:27:29 -04:00
Adnan Maolood
56f0d2dd8a
atom.xml: Remove unused variable
2021-10-02 17:01:43 -04:00
Adnan Maolood
6eb5e45afa
site: Remove support for site URLs
2021-10-02 16:59:36 -04:00
Adnan Maolood
686f6a78d6
site: Add Generated variable
...
This also removes the need for the feed Updated variable.
2021-10-02 16:25:05 -04:00
Adnan Maolood
5a674c0ea5
Remove support for deprecated feeds
2021-10-02 16:19:08 -04:00
Adnan Maolood
aa9f0cd840
docs: Move feeds after tasks
2021-09-03 01:04:06 -04:00
Adnan Maolood
260de0842d
site: Clean up deprecation warning
2021-09-03 00:45:12 -04:00
Adnan Maolood
590a6c258c
dir: Return errors from executing process commands
2021-09-03 00:31:10 -04:00
Adnan Maolood
3b04218396
dir: Combine handling of feeds and deprecated feeds
2021-09-03 00:23:00 -04:00
Adnan Maolood
7ba6930188
dir: Avoid looping through all the feeds
...
Maintain a map of feeds to avoid looping through all the configured
feeds for a task.
2021-09-02 23:41:54 -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
earnest ma
508e0c28ad
Makefile: Adjust man page file permissions
2021-08-25 15:13:21 -04:00
oliverpool
b4749b3d64
fix: prevent panic when static_dir does not exist
2021-08-25 08:05:14 -04:00
Adnan Maolood
7201859dbb
docs: Remove unrelated code snippet
2021-06-26 15:10:46 -04:00
Adnan Maolood
bff5e895ac
docs: Document site params
2021-06-26 15:10:08 -04:00
Adnan Maolood
df8dc102ae
Support [params] in site config
2021-06-26 02:09:55 -04:00
Adnan Maolood
0599405c32
Update README.md
2021-06-26 02:09:15 -04:00
Robert-André Mauchin
8817add76c
Add missing DESTDIR in man page installation
2021-06-15 15:55:14 -04:00
Adnan Maolood
b413106b99
docs: Document exec function
2021-05-22 20:48:21 -04:00
Adnan Maolood
c7d6e13831
funcs: Add exec
2021-05-22 20:41:52 -04:00
Adnan Maolood
7e06a425bd
Bump version to 0.2.0
2021-05-21 17:34:28 -04:00
Adnan Maolood
7c69d89c29
docs: Document page fields
2021-05-21 17:31:32 -04:00
Adnan Maolood
b0b15146f9
Rename Path fields to Permalink
2021-05-21 17:08:36 -04:00
Adnan Maolood
376237c000
Makefile: Fix prerequisites
2021-05-21 16:59:20 -04:00
Adnan Maolood
8fe256eaad
docs: Update frontmatter documentation
2021-05-21 16:53:05 -04:00
Adnan Maolood
e80c8b7ae9
docs: Update documentation
2021-05-21 16:41:35 -04:00
Adnan Maolood
c632c0f01a
dir: Add Params method
2021-05-20 15:59:43 -04:00
Ian M. Jones
3667c41c57
Fix post ordering by Weight, reversed Date and FilePath.
2021-05-18 20:28:00 -04:00
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