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.
![]() |
5 months ago | |
---|---|---|
css | 5 months ago | |
layouts | 5 months ago | |
pages | 5 months ago | |
photography | 5 months ago | |
posts | 5 months ago | |
standalone | 5 months ago | |
.gitignore | 5 months ago | |
README.md | 5 months ago | |
bute.py | 5 months ago |
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.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 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