Skip to content

Commit

Permalink
Fixed multi line code block indention
Browse files Browse the repository at this point in the history
  • Loading branch information
roryg committed Nov 19, 2014
1 parent 6456699 commit 2b7877d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
------------------------------
Ghostwriter Version 1.8.2
------------------------------

- Fixed multiline code block indention

------------------------------
Ghostwriter Version 1.8.1
------------------------------
Expand Down
3 changes: 2 additions & 1 deletion index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Ghostwriter",
"version": "1.8.1"
"version": "1.8.2"
}
4 changes: 3 additions & 1 deletion page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<div class="container">
{{#post}}
{{> post-content}}
{{! No indention to prevent handlebars indenting <pre> tag content}}
{{> post-content}}
{{/post}}
</div>

0 comments on commit 2b7877d

Please sign in to comment.