An open API service indexing awesome lists of open source software.

https://github.com/menduz/static-site-renderer

Static site generator
https://github.com/menduz/static-site-renderer

Last synced: 2 months ago
JSON representation

Static site generator

Awesome Lists containing this project

README

        

# site-renderer

```bash
npx static-site-renderer --srcDir . --outDir out --publicUrl https://menduz.com
```

It works with a folder structure like this one

```
src-folder
├── about.md <--- source file
├── index.html <--- source file
├── main.scss <--- source file
└── .site-generator <- (all things starting with . are ignored)
├── public <- static files folder
| ├── favicon.png <--- static file
| └── robots.txt <--- static file
└── layouts <- reusable layouts
├── home.html <--- layout for home site
└── post.html <--- layout for posts
```