aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-12-05 18:28:28 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-12-05 18:29:10 +0100
commit167e4a8b7168e13bf9a490cb45a4834fcb6af286 (patch)
treecd16880e249185538be44a8077ec281930708ae0
parent04f11ce672bab52f7a2536eccb7189fdd4457166 (diff)
Remove disqus and add askbot
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r--conf/_config.yml7
-rw-r--r--site/_includes/comment_count.html4
-rw-r--r--site/_includes/head.html4
-rw-r--r--site/_layouts/post.html4
-rw-r--r--site/techpost/index.html2
5 files changed, 11 insertions, 10 deletions
diff --git a/conf/_config.yml b/conf/_config.yml
index 9ac5af5..bb87cf4 100644
--- a/conf/_config.yml
+++ b/conf/_config.yml
@@ -90,9 +90,9 @@ algolia: # https://community.algolia.com/docsearch/
index : "iot"
apikey: "40ffa808affb354450e0c0ddabe94aa9"
-disqus: # check https://disqus.com/admin
- name: "docsiotbzh"
- devmode: 0
+#disqus: # check https://disqus.com/admin
+# name: "docsiotbzh"
+# devmode: 0
twitter:
hashtag: autogradelinux
@@ -103,6 +103,7 @@ irc:
channel: "#automotive"
linkto:
+ askbot : https://ask.automotivelinux.org/
account : https://identity.linuxfoundation.org/
jira_base : https://jira.automotivelinux.org/
jira_project: https://jira.automotivelinux.org/browse/SPEC/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel
diff --git a/site/_includes/comment_count.html b/site/_includes/comment_count.html
index d7d8e37..5ad155a 100644
--- a/site/_includes/comment_count.html
+++ b/site/_includes/comment_count.html
@@ -1,9 +1,9 @@
<script type="text/javascript">
/* * * DON'T EDIT BELOW THIS LINE * * */
- (function () {
+ <!--(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//{{ site.disqus.name }}.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
- }());
+ }());-->
</script>
diff --git a/site/_includes/head.html b/site/_includes/head.html
index 1a1aaad..fb81bfa 100644
--- a/site/_includes/head.html
+++ b/site/_includes/head.html
@@ -51,9 +51,9 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
- <script defer type="text/javascript">
+ <!-- <script defer type="text/javascript">
var disqus_developer = {{ site.disqus.devmode }}; // this would set it to developer mode
- </script>
+ </script>-->
<!-- JS -->
<script defer type="text/javascript" src="{{ site.baseurl }}/static/js/lib/jquery-2.1.1.min.js"></script>
diff --git a/site/_layouts/post.html b/site/_layouts/post.html
index 083fac0..f75c0f4 100644
--- a/site/_layouts/post.html
+++ b/site/_layouts/post.html
@@ -65,7 +65,7 @@ layout: blog
</div>
</div>
</footer>
- <div class="disqus">
+ <!--<div class="disqus">
{% include disqus.html %}
- </div>
+ </div>-->
</div>
diff --git a/site/techpost/index.html b/site/techpost/index.html
index 2a1b63d..a996148 100644
--- a/site/techpost/index.html
+++ b/site/techpost/index.html
@@ -31,7 +31,7 @@ priority: 0.7
{{ post.author.name }}
{% endif %}
</span>
- <a class="comment" href="{{ site.baseurl }}{{ post.url }}#disqus_thread"></a>
+ <!--<a class="comment" href="{{ site.baseurl }}{{ post.url }}#disqus_thread"></a>-->
</div>
</header>
<section class="post-excerpt">