From 6fbeeb73030a9eead70324c3222f77040f9c3618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Tue, 10 Nov 2020 21:58:58 +0100 Subject: [PATCH] Fix default.hbs indentation --- default.hbs | 97 +++++++++++++++++++++++++++-------------------------- 1 file changed, 49 insertions(+), 48 deletions(-) diff --git a/default.hbs b/default.hbs index 77d257b..9ad70ed 100755 --- a/default.hbs +++ b/default.hbs @@ -1,66 +1,67 @@ - + - - - - + + + + - {{!-- Scripts Begin --}} - - - - - {{#is "post"}} - - {{/is}} + {{!-- Scripts Begin --}} + + + + + {{#is "post"}} + + {{/is}} - {{!-- TODO: REMOVE ON PRODUCTION! --}} - - {{!-- Scripts End --}} + {{!-- TODO: REMOVE ON PRODUCTION! --}} + + {{!-- Scripts End --}} - {{!-- Begin Page-specific code --}} - {{#is "post"}} - - {{/is}} + {{!-- Begin Page-specific code --}} + {{#is "post"}} + + {{/is}} - {{#is "index"}} - {{@site.title}} - {{/is}} + {{#is "index"}} + {{@site.title}} + {{/is}} - {{# is "post, page, tag"}} - {{meta_title}} – {{@site.title}} - {{/is}} - {{!-- End Page-specific code --}} + {{# is "post, page, tag"}} + {{meta_title}} – {{@site.title}} + {{/is}} + {{!-- End Page-specific code --}} - {{ghost_head}} - {{!-- Outputs important meta data and settings, should always be in --}} + {{ghost_head}} + {{!-- Outputs important meta data and settings, should always be in --}} - - + + - {{> "navbar-primary"}} +{{> "navbar-primary"}} - {{> "policy-popup"}} {{!-- Todo: maybe we shouldn't include the whole HTML in every page (hidden) +{{{body}}} +{{!-- All content gets inserted here, index.hbs, post.hbs, etc --}} + + +{{> "policy-popup"}} {{!-- Todo: maybe we shouldn't include the whole HTML in every page (hidden) and then show it via JS, but instead only inject it when needed via JS. This is because search engines might scan the policy popup too. --}} - {{{body}}} - {{!-- All content gets inserted here, index.hbs, post.hbs, etc --}} + - - - {{!-- --}} - {{ghost_foot}} - {{!-- Outputs important scripts - should always be included before closing body tag --}} - +{{!-- --}} +{{ghost_foot}} +{{!-- Outputs important scripts - should always be included before closing body tag --}} +