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.
SSG is a Static Site Generator that is only a Static Site Generator. No resumes here! I'll never work at Amazon, Google, or Microsoft so SSG doesn't include every single thing they've ever made. 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
## Planned Features Needed
* Obviously Hugo too
## Key Features Needed
* Simply converts dir to other dir.
* Simply converts dir to other dir.
* Whatever templates I'm using, and markdown.
* Whatever templates I'm using, and markdown.
* Watches the dir and reruns the build when there's a change.
* Watches the dir and reruns the build when there's a change.
* Simple built-in webserver to host the changes.
* Simple built-in webserver to view the changes.
* Possibly template lint or html lint.
* Possibly template lint or html lint.
* https://github.com/sourcegraph/go-template-lint
* https://github.com/sourcegraph/go-template-lint
* https://www.djlint.com/docs/languages/golang/
* https://www.djlint.com/docs/languages/golang/
@ -24,15 +20,10 @@ SSG is a Static Site Generator that is only a Static Site Generator. No resumes
## Usage
## Usage
```bash
Look in examples/ssgod.toml for a sample. Copy that to your directory then just do this:
# init your config
$ ssgod init
# creates a ssgod.tomly
```bash
$ ssgod
$ ssgod
# explicit ssgod
$ ssgod --config ssgod.toml
```
```
* Probably just an extension mapping: .md -> .html, .html -> .html
In the future there will be a command to init a config and to setup directories that you need for your config to run.