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
- Host: GitHub
- URL: https://github.com/menduz/static-site-renderer
- Owner: menduz
- Created: 2022-09-05T00:01:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T10:15:27.000Z (about 2 years ago)
- Last Synced: 2025-02-01T18:45:54.651Z (4 months ago)
- Language: HTML
- Size: 177 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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
```