Commit Graph

64 Commits

Author SHA1 Message Date
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
Serge A. Zaitsev
37c0ffcf94 passing globals when running a plugin 2015-08-30 15:29:12 +02:00
Serge A. Zaitsev
2a61f06e5a fixed math package 2015-08-30 14:45:06 +02:00
Serge A. Zaitsev
2901049048 added word count and time to read functions 2015-08-30 14:42:22 +02:00
Serge A. Zaitsev
6b2dbafa34 fixed output file names in html pages, fixed amber function bindings, replaced print command with build, fixed plugin functions, implemented zs and exec functions 2015-08-30 14:22:00 +02:00
Serge A. Zaitsev
9d486cc767 fixed output file names in html pages, fixed amber function bindings, replaced print command with build, fixed plugin functions, implemented zs and exec functions 2015-08-30 14:20:35 +02:00
Serge A. Zaitsev
80561bf9cc restored the original amber since my issue has been fixed 2015-08-29 23:58:48 +02:00
Serge A. Zaitsev
6d5efb5fce added simple blog-like structure with amber, gcss, markdown 2015-08-29 23:44:20 +02:00
Serge A. Zaitsev
46f55e19bd replaced amber with my own fork, fixed file paths for amber and html 2015-08-29 23:43:59 +02:00
Serge A. Zaitsev
aafb2e9d82 added global variables, added default date for markdown 2015-08-29 19:54:55 +02:00
Serge A. Zaitsev
85f08718a7 started migration to go templates 2015-08-29 18:46:05 +02:00
Serge A. Zaitsev
49a47d065d added amber and gcss compilers 2015-08-29 17:47:16 +02:00
Serge A. Zaitsev
9803539c0f added integration test for build procedure 2015-08-29 15:28:15 +02:00
Serge A. Zaitsev
39484fddb0 added rendering support for html and xml 2015-08-29 15:17:13 +02:00
Serge A. Zaitsev
862f4d7162 moved html rendering into a separate function 2015-08-29 15:07:18 +02:00