Upgrade Semantic-UI
Upgrade vue.js; move pouchdb to just JS
Load static content from templates

Best rewrite rule I could get to work.

Time to rewrite the rewrites system in CouchDB...
Set template name as page.template var