aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap2/templates/twitter_profile.html
blob: 5d913e95c83a6457352d71471ceaa0b2a30a850a (plain) (blame)
1
{% if TWITTER_USERNAME %}
<li class="nav-header"><h4><i class="icon-twitter-sign"></i>Twitter</h4></li>
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 30000,
  width: 'auto',
  height: 300,
  theme: {
	shell: {
	  background: '#f5f5f5',
	  color: '#000000'
	},
	tweets: {
	  background: '#ffffff',
	  color: '#000000',
	  links: '#1a50a1'
	}
  },
  features: {
	scrollbar: false,
	loop: false,
	live: false,
	behavior: 'all'
  }
}).render().setUser('{{ TWITTER_USERNAME }}').start();
</script>
{% endif %}