Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chalarangelo/node-static-page-generator
A basic static page generator for Node.js.
https://github.com/chalarangelo/node-static-page-generator
node-js nodejs static-site-generator
Last synced: 2 months ago
JSON representation
A basic static page generator for Node.js.
- Host: GitHub
- URL: https://github.com/chalarangelo/node-static-page-generator
- Owner: Chalarangelo
- License: mit
- Created: 2017-11-22T17:07:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-12T22:42:27.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T11:54:43.024Z (3 months ago)
- Topics: node-js, nodejs, static-site-generator
- Language: JavaScript
- Size: 48.8 KB
- Stars: 108
- Watchers: 7
- Forks: 30
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-static-page-generator
A basic static page generator for Node.js.![Logo](/images/favicon.png)
## Installation & usage
1. Fork or clone this repository.
2. Run `npm run start` to get everything up and running.
3. Create pages in Markdown inside the `pages` directory.
4. Create corresponding metadata files in JSON inside the `pages_meta` directory.
5. Add stylesheets, scripts and images inside the `css`, `js` and `images` directories.
6. Alter the `builder.js` and `page_template.js` files inside the `build` directory to suit your needs.
7. See the changes in your browser.
8. Grab everything inside the `build` directory and show your static website to your friends.### Credits
*Icons made by [Freepik](http://www.freepik.com) from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0/).*