The source for my homepage
HTML CSS Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
icons
pages
plugins
static
templates
.gitignore
README.md
TODO.md
getrepos.py
requirements.txt

README.md

Source code for my personal website http://beaufour.dk/. There is a tiny description available on the about page.

Running it locally

> pip install -r requirements.txt
> cactus serve

Or really what you want to do:

> pip install virtualenv
> virtualenv .venv
> source .venv/bin/activate
> pip install -r requirements.txt
> .venv/bin/cactus serve

Generating image sprite

The sprite is generated by running glue:

> glue icons/used --img=static/img/ --css=static/css/

Since I'm using a tags you need to edit static/css/icons.css and add display:block to the generic sprite clause manually though.

Uploading

To upload a new version run

> .venv/bin/cactus deploy

Known bugs

  • 404 page doesn't handle pages with directories in them, like foo/bar. To solve this I think you'd need to have Cactus use absolute paths instead of relative paths for static assets.