148 Commits

Author SHA1 Message Date
James Mills
6006bfe5b7 Add support for custom slugs 2025-10-17 01:07:17 +10:00
James Mills
8beaad4e53 Fix behavior to index all documents 2025-10-04 13:52:47 +10:00
James Mills
f0ff64dac6 Revert "Fix behavior to index all documents (including drafts) and remove source and content vars"
This reverts commit e29d8a0cf5.
2025-10-04 13:51:51 +10:00
James Mills
e29d8a0cf5 Fix behavior to index all documents (including drafts) and remove source and content vars 2025-10-04 13:51:04 +10:00
James Mills
23409821de Add optional 2nd argument to zs index vars 2025-10-04 12:41:33 +10:00
James Mills
0dd77ffa85 Add index and query support for fast indexing and querying of documents 2025-10-04 00:01:53 +10:00
James Mills
67cf3b2e40 Add better debug logging of run() timings 2025-09-30 00:49:37 +10:00
James Mills
0df79a8a47 Add duration of run() 2025-09-30 00:06:36 +10:00
James Mills
a0b5d8af87 Add support for external custom commands (Git style) 2025-09-28 07:09:25 +10:00
James Mills
c184773702 Add docs on .routes file 2025-09-28 06:47:44 +10:00
James Mills
280def0cff Update static library and don't ignore default .routes 2025-09-28 06:34:42 +10:00
James Mills
aad5477276 Upgrade go.mills.io/static for custom NotFound support 2025-09-27 18:19:18 +10:00
James Mills
caed8864df Upgrade go.mills.io/static for custom NotFound support 2025-09-27 18:08:03 +10:00
James Mills
f57bee3781 Add support for more file types 2025-09-27 12:44:26 +10:00
James Mills
885b77edec Upgrade actions/docker-build-push to v6 2025-09-27 11:11:31 +10:00
James Mills
be3ce18e66 Add -l/--levels and -m/--min support to zs headings 2025-09-27 10:46:42 +10:00
James Mills
aa5e2c6cda Add headings sub-command for easier toc building and cleaned up the codebase 2025-09-27 10:04:29 +10:00
James Mills
a1579bf714 Add support for using custom stylesheet for chroma, fix some bugs and add extra debug logging 2025-09-26 20:57:55 +10:00
James Mills
bd3a7bdf89 Fix serving non-existent pages by disabling SPA mode 2025-01-01 15:53:18 +10:00
James Mills
6690094cf4 Fix Dockerfile 0.4.5 2024-12-26 12:37:52 +10:00
James Mills
37133be5b9 Add default Dockerfile 0.4.4 2024-12-26 12:19:27 +10:00
James Mills
e28fdad29b Add a bit more to the default set of files 2024-12-26 07:56:46 +10:00
James Mills
1e84d9a585 Add zs init command to initialize new site 2024-12-25 22:43:00 +10:00
James Mills
5e8f404eb5 Fix tests 2024-10-02 02:38:43 +10:00
James Mills
032c29a157 Fix zs to not use hard line breaks for newlines 0.4.3 2024-10-02 02:20:08 +10:00
James Mills
ce83f0d226 Add feedback on what port zs serve listening on 2024-10-01 23:03:25 +10:00
James Mills
fe82501843 Trigger CI 2024-08-25 15:22:33 +10:00
James Mills
929a899656 Add CI workflows 2024-08-25 15:21:02 +10:00
James Mills
f69d56187b Fix bugs with referencing non-existent layouts 0.4.2 2024-08-24 16:17:22 +10:00
jedahan
d7c5c48621 Document posthook requirements and behavior (#21)
Reviewed-on: https://git.mills.io/prologic/zs/pulls/21
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: jedahan <jedahan@noreply@mills.io>
Co-committed-by: jedahan <jedahan@noreply@mills.io>
2024-06-10 05:13:46 +00:00
Adnan ELARAJI
92b387d910 Fix typo in README.md file (#19)
Fixed a couple of  typos.

Co-authored-by: Adnan ELARAJI <7360655+aelaraji@users.noreply.github.com>
Reviewed-on: https://git.mills.io/prologic/zs/pulls/19
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: Adnan ELARAJI <aelaraji@noreply@mills.io>
Co-committed-by: Adnan ELARAJI <aelaraji@noreply@mills.io>
2024-05-10 10:13:34 +00:00
James Mills
b23a2eb29e Add support for configuring opening and closing delimiters for plugins 0.4.1 2023-08-20 03:41:02 +10:00
James Mills
f12b2286d9 Add set -e to entrypoint 2023-08-12 13:56:54 +10:00
James Mills
15e7a102cd Fix Docker entrypoint 2023-08-06 12:03:56 +10:00
James Mills
a69c3f300c Fix Docker image to work with rootless Docker environments 2023-08-06 11:11:29 +10:00
James Mills
b137b085d4 Add curl and jq to runtime image 2023-04-02 01:38:22 +10:00
James Mills
162f433f7c Add support for cgi scripts 2023-04-02 01:02:08 +10:00
James Mills
045940e292 Fix and preserve file permissions when copying raw files (Fixes #15) 2023-04-01 21:18:28 +10:00
James Mills
dc33985231 Fix Docker image to include toc tool 2023-04-01 16:31:42 +10:00
James Mills
a180a3cf0f Update README 0.4.0 2023-04-01 15:49:43 +10:00
James Mills
fd3c57c29e Add toc to builtin tools for the zs Docker builder image 2023-04-01 15:04:37 +10:00
James Mills
1fa555ea43 Add zs generate command for generating partial fragments 2023-04-01 10:47:02 +10:00
James Mills
3c1f7fdf56 Add list plugin to contrib 2023-03-30 22:53:03 +10:00
James Mills
71e45638de Fix example posthook 2023-03-30 22:52:44 +10:00
James Mills
5b116b3f07 Fix getVars() 2023-03-30 22:22:21 +10:00
James Mills
16a58ffa2d Add -v/--var flag for configuring additional variables 2023-03-30 22:11:16 +10:00
James Mills
97f798b5c5 Fix debugability of non-existent plugins or variables in non-production mode 2023-03-30 21:15:08 +10:00
James Mills
3823e20a03 Fix install instructions 2023-03-30 20:53:22 +10:00
James Mills
c8c4ac861a Add source to variables when rendering to support reveal.js and slide decks or re-using the content source 2023-03-29 23:37:20 +10:00
James Mills
ce6360eb75 Fix README 2023-03-28 00:29:49 +10:00