Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add disqus in sidebar

  • Loading branch information...
commit 65afb42ba9d0fe0cb4fb4f0298c4fbb80ffb2ad1 1 parent bf7bbb5
@imkerberos authored
View
3  _config.yml
@@ -87,6 +87,9 @@ delicious_count:
# Disqus Comments
disqus_short_name: imkerberos
disqus_show_comment_count: true
+disqus_aside_comment_count: 8
+disqus_aside_avatar_size: 32
+disqus_aside_comment_excerpt_length: 200
# Google Analytics
google_analytics_tracking_id:
View
9 _includes/asides/disqus.html
@@ -0,0 +1,9 @@
+{% if site.disqus_short_name %}
+<section>
+ <div id="recentcomments" class="dsq-widget">
+ <h1 class = "dsq-widget-title">Recent Comments</h1>
+ <script type = "text/javascript" src = "http://{{ site.disqus_short_name }}.disqus.com/recent_comments_widget.js?num_items={{ site.disqus_aside_comment_count }}&hide_avatars=0&avatar_size={{ site.disqus_aside_avatar_size }}&excerpt_length={{ site.disqus_aside_comment_excerpt_length }}"></script>
+ </div>
+ <a href="http://disqus.com/">Powered by Disqus</a>
+</section>
+{% endif %}
View
3  _includes/kerberos/asides.html
@@ -1,5 +1,6 @@
{% include asides/aboutme.html %}
-{% include asides/recent_posts.html %}
{% include asides/github.html %}
+{% include asides/recent_posts.html %}
+{% include asides/disqus.html %}
{% include asides/twitter.html %}
{% include asides/googleplus.html %}
View
5 _posts/2012-03-26-install-hadoop-on-squeeze-with-full-distribute-mode.md
@@ -139,7 +139,8 @@ Squeeze.
具体的分配表如下
-组件名称 | 服务器1 | 服务器2 | 服务器3 | 服务器4 | 服务器5 | 服务器6 | 服务器7 | 服务器8
-:------- :--------- :------- :-------- :-------- :-------- :-------- :-------- :--------
+|组件名称 | 服务器1 | 服务器2 | 服务器3 | 服务器4 | 服务器5 | 服务器6 | 服务器7 | 服务器8|
+|:------- |:--------|:--------|:---------|:--------|:--------|:--------|:--------|:-------|
+|Jobtrac r| OK | OK | OK | OK | OK | OK | OK | OK |
[Debian]: http://www.debian.org "Debian"
Please sign in to comment.
Something went wrong with that request. Please try again.