diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/responders.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/responders.js b/src/responders.js index 0bd841f..acfcaf1 100644 --- a/src/responders.js +++ b/src/responders.js @@ -42,7 +42,10 @@ const templates = { function setTitle(siteTitle, pageTitle) { return rheo.template(function(s) { return s - .inner("title", rheo((pageTitle ? " · " : "") + siteTitle)) + .inner( + "title", + rheo(pageTitle ? `${pageTitle} ยท ${siteTitle}` : siteTitle) + ) .inner("body header h1", rheo(siteTitle)); }); } |