Skip to content

Commit

Permalink
Configure the number of tweets that we show.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Aug 12, 2009
1 parent e7fa3e2 commit f2fb328
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.pl
Expand Up @@ -16,7 +16,7 @@

my $follows = autofollow($t);

my $tweets = $t->friends_timeline({count => 20});
my $tweets = $t->friends_timeline({count => $config->{tweets} || 20});

my $tt = Template->new;
$tt->process('index.tt',
Expand Down
2 changes: 2 additions & 0 deletions config.yaml
Expand Up @@ -5,6 +5,8 @@ title: a title
subtitle: some witty subtitle
template: index.tt
output: index.html
# number of tweets to display (defaults to 20)
tweets:
# I use this to trigger the addition of Google Analytics code
# Obviously it's optional
analytics_id:

0 comments on commit f2fb328

Please sign in to comment.