Updated Google custom search
[ghost-theme-willow.git] / post.hbs
index 0568f826ba3f4f63c5cf9aafa14e4c46bdbdbb05..650eb23065342d6ef8338e187653866f340e7d3e 100644 (file)
--- a/post.hbs
+++ b/post.hbs
@@ -1,8 +1,16 @@
 {{!< default}}
 {{#post}}
     <div class="c-post-view {{post_class}}">
-        <div class="c-post-view__header">
-            <h1 class="c-post-view__header__title">{{title}}</h1>
+        {{#if feature_image}}
+            <figure class="c-post-full-image" style="background-image: url({{feature_image}})">
+            </figure>
+        {{/if}}
+
+        <div class="c-page-title">
+            <h1 class="c-page-title__heading">
+                {{title}}
+            </h1>
+
             {{> "post-meta"}}
         </div>
 
             {{content}}
         </div>
 
+       <div id="disqus_thread"></div>
+        <script>
+
+            /**
+            *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
+            *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
+            
+            var disqus_config = function () {
+            this.page.url = '{{url absolute="true"}}';     // PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
+            this.page.identifier = 'ghost-{{comment_id}}'; // PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
+            };
+            
+            (function() { // DON'T EDIT BELOW THIS LINE
+            var d = document, s = d.createElement('script');
+            s.src = 'https://worknjae.disqus.com/embed.js';
+            s.setAttribute('data-timestamp', +new Date());
+            (d.head || d.body).appendChild(s);
+            })();
+        </script>
+        <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
+        
         <div class="c-post-view__footer">
-            {{> "post-meta"}}
+            {{> "post-share"}}
+            {{> "prev-next"}}
+            <!--{{> "comments"}}-->
         </div>
+
     </div>
 {{/post}}
\ No newline at end of file