diff --git a/bb.sh b/bb.sh index d3d6fe3..cf7cf9b 100755 --- a/bb.sh +++ b/bb.sh @@ -287,21 +287,17 @@ twitter_card() { twitter() { [[ -z $global_twitter_username ]] && return - if [[ -z $global_disqus_username ]]; then - if [[ $global_twitter_cookieless == true ]]; then - id=$RANDOM + if [[ $global_twitter_cookieless == true ]]; then + id=$RANDOM - search_engine="https://twitter.com/search?q=" + search_engine="https://twitter.com/search?q=" - echo "
$template_comments $template_twitter_button " - echo "
" - return; - else - echo "$template_comments "; - fi - else - echo "
$template_comments " - fi + echo "
$template_comments $template_twitter_button " + echo "
" + return; + else + echo "