-
-
Notifications
You must be signed in to change notification settings - Fork 210
/
post.hbs
36 lines (30 loc) · 1.3 KB
/
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
35
36
{{!-- Layout --}}
{{!< default }}
{{#contentFor "mapache_class_body"}}is-article{{/contentFor}}
<div class="container mx-auto flex flex-col lg:flex-row my-10">
{{#post}}
<article class="post min-w-0 flex-auto">
{{#unless feature_image}}
<div class="lg:pl-20">
{{!-- Article Header - partials/article/article-header.hbs --}}
{{> "article/article-header"}}
{{!-- Article Author - partials/components/author-meta.hbs --}}
{{> "components/author-meta"}}
</div>
{{else}}
{{!-- Article Header - partials/article/article-header.hbs --}}
{{> "article/article-header"}}
{{!-- Article Author - partials/components/author-meta.hbs --}}
{{> "components/author-meta"}}
{{/unless}}
{{!-- Featured Image - partials/article/article-media.hbs --}}
{{> "article/article-media"}}
{{!-- Article Content - partials/article/article-body.hbs --}}
{{> "article/article-body"}}
</article>
{{/post}}
{{!-- Sidebar - partials/sidebar.hbs --}}
{{> "sidebar"}}
</div>
{{!-- Related Articles - partials/article/article-related.hbs --}}
{{> "article/article-related"}}