-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathpage.hbs
27 lines (22 loc) · 876 Bytes
/
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
{{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
{{>content-header}}
<main class="content">
<article class="{{post_class}}">
{{! Everything inside the #post tags pulls data from the post }}
{{#post}}
{{#match @page.show_title_and_feature_image}}
<header class="post-header">
<h1 class="post-title typl8-gamma">{{title}}</h1>
<section class="post-meta">
<time class="post-date hidden" datetime="{{date format='YYYY-MM-DD'}}">Published on {{date format="MMMM Do YYYY"}}</time>
</section>
</header>
{{/match}}
<section class="post-content">
{{content}}
</section>
{{/post}}
</article>
</main>