You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 weeks ago | |
---|---|---|
art | 4 weeks ago | |
config | 4 weeks ago | |
tests | 4 weeks ago | |
.gitignore | 4 weeks ago | |
LICENSE | 4 weeks ago | |
Makefile | 4 weeks ago | |
README.md | 4 weeks ago | |
go.mod | 4 weeks ago | |
go.sum | 4 weeks ago | |
main.go | 4 weeks ago | |
ssgod.toml | 4 weeks ago |
README.md
Super Saiyan God
"This isn't even my final form."
SSG is a Static Site Generator that is only a Static Site Generator. No resumes here! Just a piece of code that generates static files from templates for websites, and can do it live while you develop said templates.
Notes
- Prior art https://github.com/darccio/zas
- Obviously Hugo too
Key Features Needed
- Simply converts dir to other dir.
- Whatever templates I'm using, and markdown.
- Watches the dir and reruns the build when there's a change.
- Simple built-in webserver to host the changes.
- Possibly template lint or html lint.
- Code highlighting -- should that prism or something else?
Usage
# init your config
$ ssgod init
# creates a ssgod.tomly
$ ssgod
# explicit ssgod
$ ssgod --config ssgod.toml
- Probably just an extension mapping: .md -> .html, .html -> .html