Updated Google custom search
[ghost-theme-willow.git] / post.hbs
index 64c343a14c55eec190af792061a3987c53f780f7..650eb23065342d6ef8338e187653866f340e7d3e 100644 (file)
--- a/post.hbs
+++ b/post.hbs
@@ -1,22 +1,49 @@
 {{!< default}}
 {{#post}}
-    <div class="post-single {{post_class}}">
-        <div class="post-header">
-            <h1>{{title}}</h1>
-            {{> "post-single-meta"}}
+    <div class="c-post-view {{post_class}}">
+        {{#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>
 
-        <div class="post-content">
+        <div class="c-post-view__content">
             {{content}}
         </div>
 
-        <div class="post-footer">
-            {{> "post-single-meta"}}
+       <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-share"}}
+            {{> "prev-next"}}
+            <!--{{> "comments"}}-->
         </div>
-    </div>
 
-    <div id="disqus_thread"></div>
-    <script async="async">
-        /* Paste Your Disqus Embed Code Here */
-    </script>
+    </div>
 {{/post}}
\ No newline at end of file