diff --git a/views/layout.pug b/views/layout.pug index 6d36b48..586e75f 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -29,9 +29,10 @@ html(lang='en') div(style='margin-top: 1.5em;') section.section div.container.is-marginless.fullwidth - if title - h1= config.siteTitle + ' - ' + title - else if title !== false - h1 #{config.siteTitle} + block title + if title + h1= config.siteTitle + ' - ' + title + else if title !== false + h1 #{config.siteTitle} include includes/messages.pug block content diff --git a/views/wishlist.pug b/views/wishlist.pug index cecef74..df7bb56 100644 --- a/views/wishlist.pug +++ b/views/wishlist.pug @@ -1,5 +1,16 @@ extends layout.pug +block title + h1 + .level + .level-left + .level-item + button.button.is-rounded(onclick='location.reload()') + span.icon + i.fas.fa-sync-alt + .level-item + span #{config.siteTitle} - #{title} + block content script(type='data/user_id')= req.user._id if process.env.TABLE !== 'false'