forked from JustGoodThemes/Scriptor-Ghost-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
32 lines (27 loc) · 933 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
27
28
29
30
31
32
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! The tag below includes the blog header - partials/header.hbs }}
{{> header}}
<main class="main-content" role="main">
{{! Everything inside the #post tags pulls data from the page }}
{{#post}}
<article class="{{post_class}}" role="article">
<header class="post-header">
<h1 class="post-title">{{title}}</h1>
{{#if tags}}
<div class="post-meta">
{{tags prefix="Posted in "}}
</div><!-- .post-meta -->
{{/if}}
{{#if feature_image }}
<div class="post-thumbnail"><img src="{{img_url feature_image}}" alt="{{title}}" /></div>
{{/if}}
</header><!-- .post-header -->
<div class="post-content">
{{content}}
</div><!-- .post-content -->
</article>
{{/post}}
</main><!-- .main-content -->
{{! The tag below includes the theme footer - partials/footer.hbs }}
{{> footer}}