You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

830 B

bute

bute is a static site generator (SSG) written in Python.

Usage

  1. Fork this repository and clone it to your computer:
git clone https://codeberg.org/erikjohannes/bute
  1. Configure the site:
  • Add your site's URL to the bute.py file (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 in layouts/head.html.
  1. 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.
  1. 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