Commit Graph

78 Commits

Author SHA1 Message Date
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
James Mills
70fb47d6ee
Fix default PATH for .zs for partials for Go 1.19 changes to LookPath handling 2022-08-14 10:52:15 +10:00
Nova [ミラーワールド]
efa11e9761
Updated manual page and added a Makefile 2022-01-08 09:20:51 +10:00
Nova [ミラーワールド]
f39dbabd01
Add manual page for zs 2022-01-08 09:20:40 +10:00
James Mills
2ab171a0d4
Code cleanup 2021-10-29 02:10:15 +10:00
James Mills
40012efba4
Add Markdown extensions to blackfriday 2021-10-23 13:57:19 +10:00
James Mills
054f525327
Update .gitignore 2021-09-18 09:45:01 +10:00
James Mills
da3aeb9bb2
Add release script 2021-09-18 09:43:22 +10:00
James Mills
3644a88f46
Remove Travis CI config 2021-09-18 09:33:52 +10:00
James Mills
25c14c56ab
Forked project 2021-09-18 09:32:14 +10:00
James Mills
6f878ed98e
Fix deps 2021-09-18 09:12:48 +10:00
Serge Zaitsev
4900afa45d
Merge pull request #2 from gsax/master
update blackfriday version
2020-03-24 07:19:37 +01:00
Georg Sachs
377f668cd3 update blackfriday version 2020-03-24 06:10:58 +01:00
Sergii Zaitsev
477cdcc776 add go.mod and go.sum 2019-09-23 10:15:24 +02:00
Serge A. Zaitsev
c7c69b579b added coverage to travis-ci script 2016-02-18 21:36:17 +08:00
Serge A. Zaitsev
d308f7f24f install codecov as user 2016-02-18 13:16:43 +08:00
Serge A. Zaitsev
f8339b4f23 added codecov script 2016-02-18 13:09:11 +08:00
Serge A. Zaitsev
e21b87dfb6 more obvious rules of variable overriding 2015-09-04 14:49:56 +02:00
Serge A. Zaitsev
76175692a6 updated README 2015-09-02 23:21:50 +02:00
Serge A. Zaitsev
c866143950 removed Go 1.1 support (missing encoding package) 2015-09-02 21:38:05 +02:00
Serge A. Zaitsev
f268f1fc64 fixed variable override order 2015-09-02 19:43:31 +02:00
Serge A. Zaitsev
56b0884d64 removed fs/walk error check, added title default value heuristics 2015-09-02 19:41:06 +02:00
Serge A. Zaitsev
6b71f501a7 added explicit yaml separator, fixed amber compilation sequence 2015-09-02 19:35:26 +02:00
Serge A. Zaitsev
2ce4b993b0 rewritten using zs templates, allowing go templates using <% %> delimiters 2015-09-02 19:05:09 +02:00
Serge A. Zaitsev
097012ddbd removed funcs, ext and utils 2015-09-02 17:00:14 +02:00
Serge A. Zaitsev
0565a6b07a dead end with template functions 2015-09-02 16:54:16 +02:00
Serge A. Zaitsev
b31a2cc1ca added check for fs walk errors 2015-08-30 23:16:51 +02:00
Serge A. Zaitsev
61600d0951 file, url and output should not be overridden by globals 2015-08-30 16:01:05 +02:00
Serge A. Zaitsev
70ba7396ff removed default date value, added some default title/description/keywords for markdown 2015-08-30 15:50:03 +02:00