From 61cfb3064bd4683e47a002fc418bb9ec23a7c27f Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Fri, 10 Jan 2014 16:59:27 +0100 Subject: [PATCH] Cleaned up comments and indentation --- page.hbs | 17 ++++++---------- post.hbs | 61 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 36 insertions(+), 42 deletions(-) diff --git a/page.hbs b/page.hbs index f12236a..45073e1 100644 --- a/page.hbs +++ b/page.hbs @@ -1,13 +1,12 @@ {{!< default}} -{{! The comment above "< default" means - insert everything in this file into - the {body} of the default.hbs template, which contains our header/footer. }} +{{! This is a page template. A page outputs content just like any other post, and has all the same + attributes by default, but you can also customise it to behave differently if you prefer. }}
- {{! Each post has the blog logo at the top, with a link back to the home page }}
- {{! Everything inside the #post tags pulls data from the post }} {{#post}} - {{! Everything below outputs content of the the post which has been published }} - +

{{{title}}}

-

{{{title}}}

- -
- {{content}} -
+
+ {{content}} +
{{/post}} diff --git a/post.hbs b/post.hbs index 8b59f9f..14fc7b5 100644 --- a/post.hbs +++ b/post.hbs @@ -21,41 +21,40 @@ {{! Everything inside the #post tags pulls data from the post }} {{#post}} - {{! Everything below outputs content of the the post which has been published }} - + -

{{{title}}}

+

{{{title}}}

-
- {{content}} -
- - + {{/post}}