forked from johnpapa/jp-ghost-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.hbs
39 lines (33 loc) · 1.5 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
{{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
{{! Everything inside the #post tags pulls data from the post }}
{{#post}}
{{! Header transparent}}
{{> header}}
<div class="article_feature_first-img container" style="background-image: url({{#if image}}{{image}}{{else}}{{@blog.cover}}{{/if}})">
<div class="hover"></div>
<article class="article_item_first wrap hover container">
<header class="post_head">
<h1>{{title}}</h1>
</header>
<section>
<p class="blog_description post_text" itemprop="description">{{meta_description}}</p>
</section>
</article>
</div>
<div class="main-wrapper">
<main class="content-wrapper">
<article class="article container">
<section class="article_text post">
{{content}}
<div id="ad3" data-type="ad" data-publisher="lqm.johnpapa.site" data-zone="post" data-format="728x90"></div>
<div id="ad4" data-type="ad" data-publisher="lqm.johnpapa.site" data-zone="post" data-format="728x90"></div>
<div id="ad7" data-type="ad" data-publisher="lqm.johnpapa.site" data-zone="post" data-format="300x250"></div>
<div id="ad8" data-type="ad" data-publisher="lqm.johnpapa.site" data-zone="post" data-format="300x250"></div>
</section>
</article>
</main>
{{> sidebar}}
</div>
{{/post}}