Don't use debug in production.
Merge branch 'master' into stable
Merge branch 'master' into stable
Merge branch 'master' into stable
Merge branch 'master' into stable
Fix additional errors with the base template.
Also fix errors with tutoring template.
Merge hotfix-rewrite-base-template (#7) into master

Fix additional errors with the base template.

There are still some elements that remained
unclosed.