Skip to content

Commit ae8bc61

Browse files
committed
Revert back to Disqus
1 parent 97a1456 commit ae8bc61

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ baseurl: "/project-pages"
88
url: "http://matin-hub.github.io"
99
github_username: matin-hub
1010
project_repository: project-pages
11+
disqus_shortname: project-pages
1112

1213
# Build settings
1314
# Don't change these variables

_includes/_comments.html

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
<script src="https://apis.google.com/js/plusone.js"></script>
2-
3-
<table align="center">
4-
<tr>
5-
<td>
6-
<div style="margin-left: 20%; margin-right: 20%; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; height: 600px;" class="g-comments"
7-
data-href="{{ page.url | prepend: site.baseurl | prepend: site.url }}"
8-
data-width="600"
9-
data-first_party_property="BLOGGER"
10-
data-view_type="FILTERED_POSTMOD">
11-
</div>
12-
</td>
13-
</tr>
14-
</table>
1+
<div id="disqus_thread" class="container" style="padding-right: 50px;padding-left: 50px;"></div>
2+
<script type="text/javascript">
3+
/* * * CONFIGURATION VARIABLES * * */
4+
var disqus_shortname = '{{ site.disqus_shortname }}';
5+
6+
/* * * DON'T EDIT BELOW THIS LINE * * */
7+
(function() {
8+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
9+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
10+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
11+
})();
12+
</script>
13+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

0 commit comments

Comments
 (0)