A static site generator (SSG) written in Python.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ejhusom 449b426460 Improve information 5 months ago
css Initial commt 5 months ago
layouts Improve information 5 months ago
pages Improve information 5 months ago
photography Add example photos 5 months ago
posts Add example photos 5 months ago
standalone Add standalone pages examples 5 months ago
.gitignore Add pages and gitignore 5 months ago
README.md Improve information 5 months ago
bute.py Improve information 5 months ago

README.md

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