forked from GavickPro/Portfolio-Free-Ghost-Theme
-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.hbs
executable file
·40 lines (34 loc) · 1.24 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
{{!< default}}
<main role="main">
<div class="main__wrapper">
{{#if @blog.navigation}}
{{navigation}}
{{/if}}
{{! Everything inside the #post tags pulls data from the post }}
<article class="{{post_class}}">
{{#post}}
{{#contentFor "metaTags"}}
<meta property="article:author" content="{{author.name}}">
{{/contentFor}}
<div class="post__wrapper--subpage">
{{#if image}}
<div class="post__media">
<img src="{{image}}" alt="{{{title}}}" />
</div>
{{/if}}
<header class="post__header--subpage">
<h2 class="post__title post__title--subpage">
<a href="{{url}}" class="post__link post__title_link">{{{title}}}</a>
</h2>
<time datetime="{{date format='YYYY-MM-DD'}}" class="post__date">
{{date format="MMM, DD, YYYY"}}
</time>
</header>
<section class="post__content">
{{content}}
</section>
</div>
{{/post}}
</article>
</div>
</main>