diff options
-rw-r--r-- | changelog.txt | 6 | ||||
-rw-r--r-- | index.hbs | 3 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | page.hbs | 4 | ||||
-rw-r--r-- | 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,4 +1,10 @@ ------------------------------ +Ghostwriter Version 1.8.2 +------------------------------ + +- Fixed multiline code block indention + +------------------------------ Ghostwriter Version 1.8.1 ------------------------------ @@ -3,7 +3,8 @@ <div id="latest-post" class="container"> {{#foreach posts}} {{#if @first}} - {{> post-content}} +{{! No indention to prevent handlebars indenting <pre> tag content}} +{{> post-content}} {{/if}} {{/foreach}} </div> 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 @@ -13,7 +13,9 @@ {{#if image}} <img class="post-featured-image" src="{{image}}"> {{/if}} - {{{content}}} + +{{! No indention to prevent handlebars indenting <pre> tag content}} +{{{content}}} {{#if tags}} <p class="post-tags"><span>Tagged:</span> {{tags}}</p> @@ -2,6 +2,7 @@ <div class="container"> {{#post}} - {{> post-content}} +{{! No indention to prevent handlebars indenting <pre> tag content}} +{{> post-content}} {{/post}} </div>
\ No newline at end of file |