Forked project

git-svn-id: file:///srv/svn/repo/aya/trunk@48 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
prologic
2021-09-17 23:32:14 +00:00
parent 4b03fb62b7
commit cdb8bfcc7b
6 changed files with 7 additions and 102 deletions

View File

@@ -1,7 +1,4 @@
zs
==
[![Build Status](https://travis-ci.org/zserge/zs.svg?branch=master)](https://travis-ci.org/zserge/zs)
# zs
zs is an extremely minimal static site generator written in Go.
@@ -22,11 +19,11 @@ The name stands for 'zen static' as well as it's my initials.
Download the binaries from Github or build it manually:
$ go get github.com/zserge/zs
$ go get git.mills.io/prologic/zs
## Ideology
Keep your texts in markdown, [amber] or HTML format right in the main directory
Keep your texts in markdown, or HTML format right in the main directory
of your blog/site.
Keep all service files (extensions, layout pages, deployment scripts etc)
@@ -92,12 +89,6 @@ content generation, or additional commands, like LESS to CSS conversion:
lessc < $ZS_OUTDIR/styles.less > $ZS_OUTDIR/styles.css
rm -f $ZS_OUTDIR/styles.css
## Syntax sugar
By default, `zs` converts each `.amber` file into `.html`, so you can use lightweight Jade-like syntax instead of bloated HTML.
Also, `zs` converts `.gcss` into `.css`, so you don't really need LESS or SASS. More about GCSS can be found [here][gcss].
## Command line usage
`zs build` re-builds your site.
@@ -113,7 +104,3 @@ it's an empty string).
## License
The software is distributed under the MIT license.
[amber]: https://github.com/eknkc/amber/
[YAML]: https://github.com/go-yaml/yaml
[gcss]: https://github.com/yosssi/gcss