Updated Google custom search
[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 <div class="c-post-view__content">
18 {{content}}
19 </div>
20
21 <div id="disqus_thread"></div>
22 <script>
23
24 /**
25 * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
26 * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
27
28 var disqus_config = function () {
29 this.page.url = '{{url absolute="true"}}'; // PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
30 this.page.identifier = 'ghost-{{comment_id}}'; // PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
31 };
32
33 (function() { // DON'T EDIT BELOW THIS LINE
34 var d = document, s = d.createElement('script');
35 s.src = 'https://worknjae.disqus.com/embed.js';
36 s.setAttribute('data-timestamp', +new Date());
37 (d.head || d.body).appendChild(s);
38 })();
39 </script>
40 <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
41
42 <div class="c-post-view__footer">
43 {{> "post-share"}}
44 {{> "prev-next"}}
45 <!--{{> "comments"}}-->
46 </div>
47
48 </div>
49 {{/post}}