-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost.hbs
34 lines (25 loc) · 907 Bytes
/
post.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
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{!-- The main content area --}}
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
<main id="site-main">
<div class="bg-brand-green-lighter px-4">
<div class="container max-w-5xl mx-auto flex flex-wrap flex-col md:flex-row items-center pt-8">
<!--title-->
<h1 class="my-4 text-5xl font-display leading-tight ">{{title}}</h1>
</div>
</div>
<section class="bg-white border-b py-4 px-4 text-gray-600">
<div class="container max-w-5xl mx-auto">
<article class="post-full {{post_class}} {{#unless feature_image}}no-image{{/unless}}">
<section class="post-full-content">
<div class="post-content">
{{content}}
</div>
</section>
</div>
</section>
</main>
{{/post}}