forked from godofredoninja/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
25 lines (18 loc) · 770 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
{{!< default}}
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
<article class="post u-marginBottom40 u-relative">
<header class="post-header u-container u-maxWidth740 u-paddingTop30">
<h1 class="post-title u-fontSize40 u-paddingTop20 u-contentTitle u-paddingBottom2 u-fontWeightBold u-md-fontSizeLarger">{{title}}</h1>
</header>
{{!-- Figure --}}
{{#if feature_image}}
<figure class="post-image u-paddingTop30 u-block u-marginAuto u-maxWidth1000">
<img src="{{feature_image}}" class="u-block u-marginAuto" alt="{{title}}" />
</figure>
{{/if}}
<section class="post-body u-container u-maxWidth740 u-relative u-clear">
{{content}}
</section>
</article>
{{/post}}