Skip to content

Commit 706674b

Browse files
committed
Add commenting
1 parent 8679885 commit 706674b

5 files changed

+33
-1
lines changed

_layouts/post.html

+29-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,34 @@ <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
99
</header>
1010
<div class="post-content" itemprop="articleBody">
1111
{{ content }}
12-
</div>
1312

13+
14+
{% if page.comments %}
15+
16+
<div id="disqus_thread"></div>
17+
<script>
18+
/**
19+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
20+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
21+
*/
22+
/*
23+
var disqus_config = function () {
24+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
25+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
26+
};
27+
*/
28+
(function() { // DON'T EDIT BELOW THIS LINE
29+
var d = document, s = d.createElement('script');
30+
31+
s.src = '//ploystblog.disqus.com/embed.js';
32+
33+
s.setAttribute('data-timestamp', +new Date());
34+
(d.head || d.body).appendChild(s);
35+
})();
36+
</script>
37+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
38+
39+
{% endif %}
40+
41+
</div>
1442
</article>

_posts/2015-12-17-letsencrypt-on-kubernetes.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: 2015-12-22 18:19:53 +0000
55
categories: development
66
author: Alex Couper
77
tags: kubernetes
8+
comments: true
89
---
910

1011
Below I will describe an approach as to how to get a proxy running that handles

_posts/2016-01-27-new-logo-announcement.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: 2016-01-27 21:54:34 +0000
55
categories: product
66
author: Alex Couper
77
tags: design
8+
comments: true
89
---
910

1011
We've been through a few iterations on the logo design and can finally reveal

_posts/2016-02-29-aurelia-drf-authentication.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: 2016-02-29 16:00:00 +0000
55
categories: development
66
author: Carles Barrobés
77
tags: aurelia
8+
comments: true
89
---
910

1011
This is the first article in a series that will describe some of

_posts/2016-03-31-postgres-backup-container.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: 2016-03-31 19:45:53 +0000
55
categories: development
66
author: Alex Couper
77
tags: kubernetes docker postgres
8+
comments: true
89
---
910

1011
#### Introducing [postgres-backup][pg-backup-github]: A docker image that allows us to clone postgres databases for easy testing.

0 commit comments

Comments
 (0)