-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.hbs
executable file
·80 lines (45 loc) · 2.48 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
<section class="main">
<article class="{{post_class}}">
{{! Everything inside the #post tags pulls data from the post }}
{{#post}}
<div class="post-top">
{{#if image}}
<span class="featured-image"><img src="{{image}}" alt="{{title}}" /></span>
{{else}}
<span class="featured-image not-post-image">{{content words="0"}}</span>
{{/if}}
<div class="post-align post-header">
<div class="post-header-inner">
<h1 class="entry-title post-title">{{title}}</h1>
</div><!-- /post-header-inner -->
</div><!-- /post-header -->
</div><!-- /post-top -->
<div class="inner post-inner">
{{content}}
<div class="meta-hold">
<ul class="meta sharer">
<li class="share-on">
Share on: <a target="blank" title="{{title}}" href="https://twitter.com/share?text={{title}}20-%20&url={{url absolute="true"}}" onclick="window.open('https://twitter.com/share?text={{title}}%20-%20&url={{url absolute="true"}}','twitter','width=450,height=300,left='+(screen.availWidth/2-375)+',top='+(screen.availHeight/2-150)+'');return false;" class="twitter">
<i class="fa fa-twitter"></i> </a>
</li>
<li class="share-on">
<a href="http://pinterest.com/pin/create/button/?url={{url absolute="true"}}&media=amp;description={{title}}" target="_blank" class=" pinterest offblack">
<i class="fa fa-pinterest"></i> </a>
</li>
<li class="share-on">
<a target="blank" title="Big+Sur" href="http://www.facebook.com/share.php?u={{url absolute="true"}}" onclick="window.open('http://www.facebook.com/share.php?u={{url absolute="true"}}','facebook','width=450,height=300,left='+(screen.availWidth/2-375)+',top='+(screen.availHeight/2-150)+'');return false;" class=" facebook ">
<i class="fa fa-facebook"></i> </a>
</li>
<li class="share-on">
<a onclick="window.open('https://plus.google.com/share?url={{url absolute="true"}}','gplusshare','width=450,height=300,left='+(screen.availWidth/2-375)+',top='+(screen.availHeight/2-150)+'');return false;" href="https://plus.google.com/share?url={{url absolute="true"}}" class=" googleplus offblack">
<i class="fa fa-google-plus"></i> </a>
</li>
</ul>
</div> <!-- /meta-hold -->
</div> <!-- post-inner -->
{{/post}}
</article>
</section>