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