Skip to content

Commit

Permalink
fix unexpected white space [Ghost bug] TryGhost/Ghost#4364
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Feb 14, 2015
1 parent 97e1e8b commit 7fb0851
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 23 deletions.
22 changes: 21 additions & 1 deletion index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@
<main id="content" class="content" role="main">

{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}
{{! Previous/next page links - only displayed on page 2+ }}


{{! This is the post loop - each post will be output using this markup }}
{{#foreach posts}}
<article class="{{post_class}}">
<header class="post-header">
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
</header>
<section class="post-content">{{content}}</section>
<footer class="post-meta">
{{author}}
{{tags prefix=" on "}}
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
</footer>
</article>
{{/foreach}}

{{! Previous/next page links - displayed on every page }}
{{pagination}}


</main>
22 changes: 0 additions & 22 deletions partials/loop.hbs

This file was deleted.

0 comments on commit 7fb0851

Please sign in to comment.