This repository has been archived by the owner on Apr 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpage.hbs
45 lines (40 loc) · 1.79 KB
/
page.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{{!< default}}
{{navigation}}
<div class="container no-header content">
<div class="row">
<div class="col-md-12 col-lg-8">
<main id="content">
{{#post}}
<article class="post clearfix {{post_class}}">
<header class="post__header">
<div class="post__meta row">
<div class="col-6">
{{#if primary_tag}}
{{#primary_tag}}
<a class="post__primary-tag" href="{{url}}">{{name}}</a>
{{/primary_tag}}
{{/if}}
</div>
<div class="col-6 text-right">
<time class="post__date" datetime="{{date}}">{{date}}</time>
</div>
</div>
<h2 class="post__title">{{title}}</h2>
</header>
{{#if feature_image}}
<figure class="post__feature-image post__feature-image--no-hover post__feature-image--full-width" style="background-image: url({{feature_image}})"></figure>
{{/if}}
<section class="post__content">
{{content}}
</section>
</article>
{{/post}}
</main>
</div>
<div class="col-md-12 col-lg-4 sidebar-container">
<aside id="sidebar">
{{> "sidebar" related_posts=true post_id=id primary_tag=primary_tag}}
</aside>
</div>
</div>
</div>