Revert "small bugfixes for theming+sass+templates"

This reverts commit 5f3313ece467a537b67af1aed9189af220308cb8.