-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
21 lines (20 loc) · 1.28 KB
/
index.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{!< default}}
<header class="site-header cover" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<section class="header-content">
<a itemprop="name url" class="blog-title" href="/">{{@blog.title}}</a>
<span itemprop="description" class="blog-description">{{@blog.description}}</span>
{{> links}}
</section>
</header>
<main id="main" class="index" role="main">
{{#foreach posts ~}}
<article itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting" class="{{post_class}}">
<header class="meta">
<h1 class="post-title" itemprop="name headline"><a href="{{url}}" itemprop="url">{{{title}}}</a></h1>
<span class="post-data"><time class="timesince date" itemprop="datePublished" datetime="{{date format='YYYY-MM-DDTHH:mm'}}" title="{{date format='D MMM YYYY'}}" data-timesince="{{date format='X'}}">{{date format='D MMM YYYY'}}</time> <span itemprop="keywords" class="tags">{{tags prefix="in " separator=", "}}</span></span>
</header>
<section class="post-content" itemprop="articleBody text">{{content}}</section>
</article>
{{~/foreach}}
{{pagination}}
</main>