1
0
Fork 0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-05-21 06:56:20 +02:00
Commit Graph

249 Commits

Author SHA1 Message Date
Adnan Maolood 34935f7de8 Bump version to 0.3.1 2022-06-17 14:54:49 -04:00
Adnan Maolood c31f2da894 frontmatter: Allow CRLF line endings 2022-06-14 17:42:23 -04:00
Adnan Maolood 10059ad166 Bump version to 0.3.0 2022-05-03 08:14:44 -04:00
IMG-PRCSNG 3e1683ecfc Update site params to a nested map 2022-03-05 13:31:35 -05:00
Adnan Maolood de04e0e828 config.toml: Update input_dir 2022-02-09 19:10:50 -05:00
Adnan Maolood f737d4b009 templates/_default/index.gmi: Minor formatting nit 2022-02-09 19:07:03 -05:00
Adnan Maolood 9263b73543 page: Ability to specify build tasks per page
Implements: https://todo.sr.ht/~adnano/kiln/15
2022-02-09 15:52:22 -05:00
Adnan Maolood 7b8dd422bc templates/_default/atom.xml: Fix feed URL 2022-02-09 13:31:59 -05:00
Adnan Maolood 6fc626d41e Use io/fs 2022-02-09 13:18:11 -05:00
Adnan Maolood 36ba349639 Use path/filepath instead of path 2022-02-09 12:39:15 -05:00
Adnan Maolood fe04b580e8 site: Expose root page to templates 2022-02-09 12:29:41 -05:00
Adnan Maolood f2944f0433 site: Set URL for root directory 2022-02-09 09:22:14 -05:00
Adnan Maolood e207741c86 docs: Move functions to bottom 2022-02-09 01:43:11 -05:00
Adnan Maolood 4332703fb5 docs: Improve page documentation 2022-02-09 01:40:03 -05:00
Adnan Maolood 597671cb6b page: Fallback to base template for page/index templates
Implements: https://todo.sr.ht/~adnano/kiln/22
2022-02-09 00:40:28 -05:00
Adnan Maolood 38a168c514 Use github.com/google/shlex to parse commands
Implements: https://todo.sr.ht/~adnano/kiln/21
2022-02-09 00:30:45 -05:00
Adnan Maolood 3ce91bc9ab docs: Update frontmatter example 2022-02-09 00:04:39 -05:00
Adnan Maolood 727e471d52 docs: Update example configuration 2022-02-09 00:02:53 -05:00
Adnan Maolood a62e9152ca docs: Add note 2022-02-08 23:54:59 -05:00
Adnan Maolood 4f81c1e44c docs: Update template variables 2022-02-08 23:52:06 -05:00
Adnan Maolood f2f6a64a1a Preserve mode bits for static files
Fixes: https://todo.sr.ht/~adnano/kiln/25
2021-11-25 11:44:01 -05:00
Adnan Maolood 7ac653c620 docs: Tweak wording 2021-10-02 21:22:54 -04:00
Adnan Maolood f87fa392d5 site: Implement support for task URLs
Resolves #23
2021-10-02 19:20:50 -04:00
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