瀏覽代碼

Merge pull request #20 from Datyedyeguy/master

Stop Disqus "Comemnts?" link with no username
Carlos Fenollosa 11 年之前
父節點
當前提交
5b72b2ec4c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bb.sh

+ 1 - 1
bb.sh

@@ -305,7 +305,7 @@ edit() {
 twitter() {
     [[ -z "$global_twitter_username" ]] && return
 
-    if [[ "$global_disqus_username" ]]; then
+    if [[ -z "$global_disqus_username" ]]; then
         echo "<p id='twitter'>$template_comments&nbsp;"
     else
         echo "<p id='twitter'><a href=\"$1#disqus_thread\">$template_comments</a> &nbsp;"