Improve readability
Prefer string interpolation to concatenation
Remove unnecessary requires from helpers
Merge branch 'pull/843' into titles
Fix rubocop warnings
Use correct title in og:title for pages with no title Fixes #1098
URI encode the X-Page-Title header Browsers's are inconsistent in how they interpret the encoding of a response header in an XHR request, so URI encode it so that it simple ASCII we can then decode it again in the browser.
Fix more rubocop style issues
Standardise on double quoted strings
Page titles: put specific page title at the start not the end
Decode entities in the title They will get reencoded (if necessary) when they are output. Fixes #764.
Replace <bdi> and </bdi> with Unicode markers in titles
Fix test failures
Refactor browse templates
Update title on pushState, closes #33