Trying out some bits with a post cover image
[ghost-theme-willow.git] / post.hbs
1 {{!< default}}
2 {{#post}}
3 <div class="c-post-view {{post_class}}">
4 <div class="c-page-title">
5 <h1 class="c-page-title__heading">
6 {{title}}
7 </h1>
8
9 {{> "post-meta"}}
10 </div>
11
12 <!--
13 {{#if feature_image}}
14 <figure class="c-post-full-image" style="background-image: url({{feature_image}})">
15 </figure>
16 {{/if}}
17 -->
18
19 <div class="c-post-view__content">
20 {{content}}
21 </div>
22
23 <div id="disqus_thread"></div>
24 <script>
25
26 /**
27 * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
28 * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
29
30 var disqus_config = function () {
31 this.page.url = '{{url absolute="true"}}'; // PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
32 this.page.identifier = 'ghost-{{comment_id}}'; // PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
33 };
34
35 (function() { // DON'T EDIT BELOW THIS LINE
36 var d = document, s = d.createElement('script');
37 s.src = 'https://worknjae.disqus.com/embed.js';
38 s.setAttribute('data-timestamp', +new Date());
39 (d.head || d.body).appendChild(s);
40 })();
41 </script>
42 <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
43
44 <div class="c-post-view__footer">
45 {{> "post-share"}}
46 {{> "prev-next"}}
47 <!--{{> "comments"}}-->
48 </div>
49
50 </div>
51 {{/post}}