-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost.hbs
102 lines (85 loc) · 3.65 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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{{!< default}}
{{#post}}
<!-- post-specific social info for SEO -->
<head>
<meta property="og:type" content="article" />
<meta property="og:title" content="{{title}}" />
<meta property="og:description" content="{{excerpt words="20"}}" />
<meta property="og:image" content="{{@blog.url}}/img/vintage_ad_bar.jpg" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@adamjohnsonnyc">
<meta name="twitter:title" content="{{title}}">
<meta name="twitter:description" content="{{excerpt characters="130"}}...">
<meta name="twitter:image" content="{{@blog.url}}/img/vintage_ad_bar.jpg">
</head>
<div id="page-type" style="display:none;">post</div>
<div class="static-img">
{{content words="0"}}
</div>
<div class="corner-nav">
<a href="/"><img src="/img/icon.png"></a>
</div>
<div class="post-top">
<div class="post-hero">
<div class="hero-title">
<h1>{{title}}</h1>
</div>
<div class="hero-subtitle">
<h4></h4>
</div>
<div class="hero-author">
<h6>{{author}}</h6>
</div>
</div>
</div>
<div class="post-white-bg">
<div class="top-social">
<a href="http://twitter.com/share?text={{title}}&url={{@blog.url}}{{url}}" target="_blank"><img src="/img/social/twitter.png"></a>
<a href="http://www.reddit.com/submit?url={{@blog.url}}{{url}}" target="_blank"><img src="/img/social/reddit.png"></a>
<a href="http://www.facebook.com/sharer.php?u={{@blog.url}}{{url}}" target="_blank"><img src="/img/social/fb.png"></a>
<a href="{{@blog.url}}/rss" target="_blank"><img src="/img/social/rss.png"></a>
</div>
<div class="container">
<section class="content" role="main">
<div class="full-post {{post_class}}" role="article">
<div class="post-content" itemprop="articleBody">
{{content}}
</div>
</div>
</section>
</div>
<div class="container">
<div class="row bottom-meta bottom-profile">
<div class="col-xs-6 author">
<img src="{{author.image}}">
{{author.bio}}
</div>
<div class="col-xs-6 bottom-social">
<a href="http://twitter.com/share?text={{title}}&url={{@blog.url}}{{url}}" target="_blank"><img src="/img/social/twitter.png"></a>
<a href="http://www.reddit.com/submit?url={{@blog.url}}{{url}}" target="_blank"><img src="/img/social/reddit.png"></a>
<a href="http://www.facebook.com/sharer.php?u={{@blog.url}}{{url}}" target="_blank"><img src="/img/social/fb.png"></a>
<a href="{{@blog.url}}/rss" target="_blank"><img src="/img/social/rss.png"></a>
</div>
</div>
</div>
<div class="container">
<div id="comments">
<div class="comment-head"><h3>COMMENTS ↓</h3></div>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'corplulz'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</div>
</div>
{{/post}}
{{> footer}}