forked from curiositry/mnml-ghost-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.hbs
26 lines (20 loc) · 780 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
{{!< 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}}
<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>
<section class="post-content">
{{content}}
</section>
{{/post}}
</article>
</main>