A static site generator (SSG) written in Python.
| css | ||
| layouts | ||
| pages | ||
| photography | ||
| posts | ||
| standalone | ||
| .gitignore | ||
| bute.py | ||
| README.md | ||
bute
bute is a static site generator (SSG) written in Python.
Usage
- Fork this repository and clone it to your computer:
git clone https://codeberg.org/erikjohannes/bute
- Configure the site:
- Add your site's URL to the
bute.pyfile (in the parameters in the beginning of the file). - Add your site's URL to the RSS feed template in
layouts/rssfeedtemplate.xml. - Add your site's URL to the
base-property inlayouts/head.html.
- Modify and add content (posts, photos etc) to the site.
- Modify the layouts (head, header and foot) in the
layouts/-folder. - Look at the examples to see how content is added.
- Build site by running:
python bute.py
The default URL is localhost:8000, which means that you can serve and view your website by running:
python -m http.server