Skip to content

Instantly share code, notes, and snippets.

@philipn
Last active December 15, 2015 09:49
Embed
What would you like to do?
Custom CSS upgrade for LocalWiki platform v0.5

If you've customized your CSS or otherwise altered your site/base.html template you'll want to do the following:

Back up your old base.html template:

sudo cp /usr/share/localwiki/templates/site/base.html ~/base.html.bak

Now just remove the base.html template:

sudo rm /usr/share/localwiki/templates/site/base.html

You'll then want to follow the instructions for customizing the CSS:

https://localwiki.readthedocs.org/en/latest/customizing.html#example-2-adding-a-custom-css-file-on-every-page

The only difference now is that we make the CSS-specific changes in a new site/extra_media.html template rather than adding them directly into base.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment