Browse Source

Disqus

post_vjs2
Levi Olson 6 years ago
parent
commit
eafb7b776a
2 changed files with 19 additions and 0 deletions
  1. +5
    -0
      core.css
  2. +14
    -0
      views/pages/post.ejs

+ 5
- 0
core.css View File

@ -37,6 +37,11 @@ h6 {
display: none;
}
#disqus_thread {
margin-top: 100px;
padding-top: 1em;
}
blockquote {
border-left: 5px solid #ddd;
margin: 0;

+ 14
- 0
views/pages/post.ejs View File

@ -34,6 +34,20 @@
<div class="entry-footer">
<p>- until next time.</p>
</div>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "https://leviolson.com<%= permalink %>";
this.page.identifier = "<%= content_file %>";
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://leviolson.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>
</footer>
</article>
</main>

Loading…
Cancel
Save