Commit Graph

106 Commits

Author SHA1 Message Date
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
James Mills
b3ae45d0dd
Fix README toc 2023-03-28 00:27:35 +10:00
James Mills
1d061592f5
Add sites that use zs and a collection of hooks and plugins to contrib 2023-03-28 00:26:11 +10:00
James Mills
6b15486148
Fix instructions for Quick Start 2023-03-27 18:26:56 +10:00
James Mills
dfaa5cd490
Fix tests and squelch warning if config file not found 2023-03-27 00:46:09 +10:00
James Mills
f64268f9cd
Fix anchor ext to use a blank space by default so it can be more easily styled with CSS 2023-03-27 00:29:58 +10:00
James Mills
2dd66671f7
Fix build to correctly inject version 2023-03-26 13:49:09 +10:00
James Mills
f421e30ba8
Fix README and document extensions and configuration file 2023-03-26 13:36:55 +10:00
James Mills
320cc026ee
Fix setting extensions via config 2023-03-26 12:57:17 +10:00
James Mills
a1308368b3
Update README 2023-03-26 12:47:07 +10:00
James Mills
40d6f8312a
Add support for configurable extensions via -e/--extensions and configuration file 2023-03-26 12:23:23 +10:00
James Mills
d889349f2c
Add support for -c/--config and .zs/config.yml for default vars 2023-03-22 00:17:14 +10:00
James Mills
bfa4160c6c
Fix bug in run passing content that was too long as args 2023-03-20 08:38:05 +10:00
James Mills
0608690f72
Add attribute parser option 2023-03-18 23:01:17 +10:00
James Mills
72a387f3cf
Remove cache (doesn't work) 2023-03-18 21:08:56 +10:00
James Mills
0dbc7d4300
Update README and reference zs-starter-template 2023-03-18 20:31:34 +10:00
James Mills
479481794d
Enable caching of layers in docker image builds 2023-03-18 18:18:37 +10:00
James Mills
5b82d79c90
Fix tests 2023-03-18 17:40:46 +10:00
James Mills
3e4215b694 Add additional goldmark extensions (#14)
Closes #13

Co-authored-by: James Mills <1290234+prologic@users.noreply.github.com>
Reviewed-on: https://git.mills.io/prologic/zs/pulls/14
2023-03-18 07:23:10 +00:00
James Mills
2bbe9caa0b
Fix tests 2023-03-18 13:26:16 +10:00
James Mills
22907ea0ff
Add -p flag to Docker image's runtime CMD 2023-03-18 13:07:23 +10:00
James Mills
84106842bf
Add support for -p/--production global variable 2023-03-18 13:06:33 +10:00
James Mills
8481779221
Add support for rebuilding if .zsignore or .zs/* files change 2023-03-18 11:59:16 +10:00
James Mills
02b31649bc
Move tools to a tools layer 2023-03-16 19:22:56 +10:00
James Mills
8f7b887fc3
Fix deps target 2023-03-16 19:14:15 +10:00
James Mills
8718b95cb6
Update README's TOC 2023-03-16 19:08:10 +10:00
James Mills
98fc7ecafd
Add an FAQ section (Fixes #12) 2023-03-16 19:07:33 +10:00
James Mills
6ae9682132
Add static and minify to zs Docker build image for convenience 2023-03-16 18:58:10 +10:00
James Mills
badeb140f2
Fix tests 2023-03-16 18:20:30 +10:00
James Mills
fbac4c54b8
Update to use goldmark (Fixes #11) 2023-03-16 17:47:21 +10:00
James Mills
b96093f460
Fix Docker image's WORKDIR to /data so zs serve works without errors 2023-03-12 22:29:36 +10:00
James Mills
3b6497cdee
Fix Docker image's CMD 2023-03-12 22:21:09 +10:00
James Mills
7643998153
Fix image target 2023-03-12 22:12:12 +10:00
James Mills
239d26a15a
Add support for .zsignore (Fixes #3) 2023-03-12 21:52:14 +10:00
James Mills
26c0bfad0b
Add more tests 2023-03-12 21:23:22 +10:00
James Mills
820bdd4655
Cleanup 2023-03-12 20:28:29 +10:00
James Mills
89db15666a
Add better README, docs and examples of using extensions (Fixes #1) 2023-03-12 18:04:55 +10:00
James Mills
7198656bcd
Fix errors filling in variables (Fixes #2) 2023-03-12 17:48:54 +10:00
James Mills
169a8ac62c
Add a better set of cli commands using cobra/pflag and add version and help to all commands 2023-03-12 16:34:38 +10:00
James Mills
b947f1518c
Fix Drone CI config to publis to prologic/zs (not prologic/saltyim) 2023-03-12 14:33:46 +10:00
James Mills
d980980a0b
Add support for specifying root driectory for zs serve 2023-03-12 14:24:34 +10:00
James Mills
339de0457c Refactor a bunch of stuff adding zs serve, CI/CD workflows, fixing docs and license (#10)
Fixes #5
Fixes #8
Fixes #9

Co-authored-by: James Mills <1290234+prologic@users.noreply.github.com>
Reviewed-on: https://git.mills.io/prologic/zs/pulls/10
2023-03-12 04:13:53 +00:00
James Mills
0f4623afae Fix tests (#7)
Fixes #6

Co-authored-by: James Mills <1290234+prologic@users.noreply.github.com>
Reviewed-on: https://git.mills.io/prologic/zs/pulls/7
2023-03-12 03:44:17 +00:00