diff --git a/changelog.txt b/changelog.txt index 6d282c43c..e4b80a667 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 8daaab1d0..51ac86277 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 84533278f..7d191f7c4 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 5f694b7f2..7c30ba84b 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}}
                     

Tagged: {{tags}}

diff --git a/post.hbs b/post.hbs index 433110707..b31b8c337 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