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.
33 lines
948 B
33 lines
948 B
# 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.
|
|
* https://github.com/sourcegraph/go-template-lint
|
|
* https://www.djlint.com/docs/languages/golang/
|
|
* Code highlighting -- should that prism or something else?
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
# assumes a ssgod.tomly
|
|
$ beerus
|
|
|
|
# explicit ssgod
|
|
$ beerus --config ssgod.toml
|
|
```
|
|
|
|
* Probably just an extension mapping: .md -> .html, .html -> .html
|
|
|