This application can help you if you want generate static web application such as blog or something else.
The main point of application is it's plugins-based architecture.
Implemented plugins:
- blog
- 'about me' page
You can write your own plugin using some of existing as example and use it in your application.
In config.yaml
file in configuration directory you can change the build directory or site header/footer text. Also you can register needed plugins in generate-static-file.py
.
- Clone this repository:
git clone https://github.com/wlad031/static-site-generator static-site-generator
cd static-site-generator/
- Install python dependencies:
pip3 install -r requirements.txt
- Run application:
python3 src/generate-static-site.py [--watch] --config /path/to/config/folder
# For example:
python3 src/generate-static-site.py --config /path/to/examples