Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDurand D'souza <durand1@gmail.com>2016-09-21 12:12:47 +0300
committerDurand D'souza <durand1@gmail.com>2016-09-21 12:12:47 +0300
commit40b0c114cbb4634bf9b658f99bcb30e552ce5ccd (patch)
tree8254571174ca9a9d0c0bf3f6ab81a46266d91532
parentc7b018352972d5cb9e57bd0c19f7fd4b6dc99ba7 (diff)
Fixed disqus
-rw-r--r--posts/a-post-with-a-video/index.html23
-rw-r--r--posts/a-post-with-images/index.html23
-rw-r--r--posts/post-with-a-background-image/index.html23
-rw-r--r--posts/post-with-large-feature-image-and-text/index.html23
-rw-r--r--posts/sample-link-post/index.html23
-rw-r--r--posts/sample-post/index.html23
-rw-r--r--posts/syntax-highlighting-post/index.html23
-rw-r--r--posts/testing-readability-with-a-bunch-of-text/index.html23
-rw-r--r--theme-setup/index.html23
9 files changed, 117 insertions, 90 deletions
diff --git a/posts/a-post-with-a-video/index.html b/posts/a-post-with-a-video/index.html
index 4410774..ffdbb2e 100644
--- a/posts/a-post-with-a-video/index.html
+++ b/posts/a-post-with-a-video/index.html
@@ -159,19 +159,22 @@
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/a-post-with-a-video\/';
- var disqus_title = 'A Post with a Video';
- var disqus_url = '\/posts\/a-post-with-a-video\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/posts/a-post-with-images/index.html b/posts/a-post-with-images/index.html
index 230ea93..bc052e3 100644
--- a/posts/a-post-with-images/index.html
+++ b/posts/a-post-with-images/index.html
@@ -241,19 +241,22 @@ Available values: [1..3].</li>
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/a-post-with-images\/';
- var disqus_title = 'A Post with Images';
- var disqus_url = '\/posts\/a-post-with-images\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/posts/post-with-a-background-image/index.html b/posts/post-with-a-background-image/index.html
index 6ecfb25..f7ba0a7 100644
--- a/posts/post-with-a-background-image/index.html
+++ b/posts/post-with-a-background-image/index.html
@@ -166,19 +166,22 @@
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/post-with-a-background-image\/';
- var disqus_title = 'Post with a Background Image';
- var disqus_url = '\/posts\/post-with-a-background-image\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/posts/post-with-large-feature-image-and-text/index.html b/posts/post-with-large-feature-image-and-text/index.html
index 207b15d..283be9f 100644
--- a/posts/post-with-large-feature-image-and-text/index.html
+++ b/posts/post-with-large-feature-image-and-text/index.html
@@ -204,19 +204,22 @@
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/post-with-large-feature-image-and-text\/';
- var disqus_title = 'Post with Large Feature Image and Text';
- var disqus_url = '\/posts\/post-with-large-feature-image-and-text\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/posts/sample-link-post/index.html b/posts/sample-link-post/index.html
index df4703e..5b73fa4 100644
--- a/posts/sample-link-post/index.html
+++ b/posts/sample-link-post/index.html
@@ -155,19 +155,22 @@
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/sample-link-post\/';
- var disqus_title = 'Sample Link Post';
- var disqus_url = '\/posts\/sample-link-post\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/posts/sample-post/index.html b/posts/sample-post/index.html
index a1ece8b..405cabe 100644
--- a/posts/sample-post/index.html
+++ b/posts/sample-post/index.html
@@ -304,19 +304,22 @@
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/sample-post\/';
- var disqus_title = 'Sample Post';
- var disqus_url = '\/posts\/sample-post\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/posts/syntax-highlighting-post/index.html b/posts/syntax-highlighting-post/index.html
index e3eceb7..19fd4d2 100644
--- a/posts/syntax-highlighting-post/index.html
+++ b/posts/syntax-highlighting-post/index.html
@@ -266,19 +266,22 @@
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/syntax-highlighting-post\/';
- var disqus_title = 'Syntax Highlighting Post';
- var disqus_url = '\/posts\/syntax-highlighting-post\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/posts/testing-readability-with-a-bunch-of-text/index.html b/posts/testing-readability-with-a-bunch-of-text/index.html
index c1b42f0..849c97b 100644
--- a/posts/testing-readability-with-a-bunch-of-text/index.html
+++ b/posts/testing-readability-with-a-bunch-of-text/index.html
@@ -204,19 +204,22 @@
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/posts\/testing-readability-with-a-bunch-of-text\/';
- var disqus_title = 'Testing Readability with a Bunch of Text';
- var disqus_url = '\/posts\/testing-readability-with-a-bunch-of-text\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>
diff --git a/theme-setup/index.html b/theme-setup/index.html
index 7941f03..0009350 100644
--- a/theme-setup/index.html
+++ b/theme-setup/index.html
@@ -373,19 +373,22 @@ bundle <span style="color: #f8f8f2">exec</span> jekyll serve
<section id="disqus_thread"><div id="disqus_thread"></div>
<script type="text/javascript">
+
+(function() {
+
+
+ if (window.location.hostname == "localhost")
+ return;
+
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'hpstrhugo';
- var disqus_identifier = '\/theme-setup\/';
- var disqus_title = 'Theme Setup';
- var disqus_url = '\/theme-setup\/';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></section>
+<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
</article>