Refactoring of styles - BEM + ITCSS, removed Disqus.
[ghost-theme-willow.git] / index.hbs
1 {{!< default}}
2 <div class="c-post-list">
3 {{#foreach posts}}
4 <article class="c-post-list__item {{post_class}}">
5 <a class="c-post-list__image" href="{{url}}" title="{{title}}">
6 <img class="c-post-list__image__img" src="{{image}}" alt="{{title}}"/>
7 </a>
8
9 <h2 class="c-post-list__title">
10 <a href="{{url}}" title="{{title}}">{{title}}</a>
11 </h2>
12
13 <div class="c-post-list__meta">
14 {{date format="MMMM DD, YYYY"}}
15
16 {{#if tags}}
17 in
18 <span class="c-post-list__meta__tags">
19 {{#foreach tags}}
20 <a href="{{url}}" title="{{name}}">#{{name}}</a>
21 {{/foreach}}
22 </span>
23 {{/if}}
24 </div>
25 </article>
26 {{/foreach}}
27 </div>
28
29 {{pagination}}