Skip to content

Commit

Permalink
add disqus comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pbalcer committed Apr 14, 2016
1 parent 93e5106 commit 02e56d7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,26 @@ <h3>{{ page.title }}</h3>
<font size="-1"><a href="{{ page.next.url }}" title="{{ page.next.title }}">Next&nbsp;post&nbsp;&raquo;</a></font>
{% endif %}
</div>

{% if page.identifier %}
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '{{ site.url }}{{ page.url }}'; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = '{{ 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 = '//nvml.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" rel="nofollow">comments powered by Disqus.</a></noscript>
{% endif %}


<div id="footer">
<hr>
{% include pagefooter.html %}
Expand Down
1 change: 1 addition & 0 deletions _posts/2016-02-25-fragmentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Persistent allocator design - fragmentation
author: pbalcer
layout: post
identifier: pmem_alloc_fragmentation
---

Implementing a memory allocator is a balance between numerous properties with
Expand Down

0 comments on commit 02e56d7

Please sign in to comment.