Skip to content

Commit 9ac5989

Browse files
committed
Merge branch 'master' of github.com:cfenollosa/bashblog
2 parents b22d968 + 48f1fd4 commit 9ac5989

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bb.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ global_variables() {
5252
# Set this to false for a Twitter button with share count. The cookieless version
5353
# is just a link.
5454
global_twitter_cookieless="true"
55-
# Set to "topsy" which can search tweets way early in time, or "twitter"
56-
# for the default search page, where tweets more than a week old are hidden
55+
# Default search page, where tweets more than a week old are hidden
5756
global_twitter_search="twitter"
5857

5958
# Change this to your disqus username to use disqus for comments
@@ -343,8 +342,7 @@ twitter() {
343342
id=$RANDOM
344343
345344
search_engine="https://twitter.com/search?q="
346-
[[ $global_twitter_search == topsy ]] && search_engine="http://topsy.com/trackback?url="
347-
345+
348346
echo "<p id='twitter'><a href='http://twitter.com/intent/tweet?url=$1&text=$template_twitter_comment&via=$global_twitter_username'>$template_comments $template_twitter_button</a> "
349347
echo "<a href='$search_engine""$1'><span id='count-$id'></span></a>&nbsp;</p>"
350348
# Get current tweet count

0 commit comments

Comments
 (0)