From 2b7877d5d4b6bd0a45eb1bbba7672bac1446d67c Mon Sep 17 00:00:00 2001 From: Rory Gibson Date: Wed, 19 Nov 2014 14:53:04 +0400 Subject: Fixed multi line code block indention --- changelog.txt | 6 ++++++ index.hbs | 3 ++- package.json | 2 +- page.hbs | 4 +++- post.hbs | 3 ++- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index 6d282c4..e4b80a6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +------------------------------ +Ghostwriter Version 1.8.2 +------------------------------ + +- Fixed multiline code block indention + ------------------------------ Ghostwriter Version 1.8.1 ------------------------------ diff --git a/index.hbs b/index.hbs index 8daaab1..51ac862 100644 --- a/index.hbs +++ b/index.hbs @@ -3,7 +3,8 @@
{{#foreach posts}} {{#if @first}} - {{> post-content}} +{{! No indention to prevent handlebars indenting
 tag content}}   
+{{> post-content}}
         {{/if}}
     {{/foreach}}
 
diff --git a/package.json b/package.json index 8453327..7d191f7 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ { "name": "Ghostwriter", - "version": "1.8.1" + "version": "1.8.2" } \ No newline at end of file diff --git a/page.hbs b/page.hbs index 5f694b7..7c30ba8 100644 --- a/page.hbs +++ b/page.hbs @@ -13,7 +13,9 @@ {{#if image}} {{/if}} - {{{content}}} + +{{! No indention to prevent handlebars indenting
 tag content}}               
+{{{content}}}
 
                 {{#if tags}}
                     
diff --git a/post.hbs b/post.hbs
index 4331107..b31b8c3 100644
--- a/post.hbs
+++ b/post.hbs
@@ -2,6 +2,7 @@
 
 
{{#post}} - {{> post-content}} +{{! No indention to prevent handlebars indenting
 tag content}}   
+{{> post-content}}
     {{/post}}
 
\ No newline at end of file -- cgit v1.2.3