aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/sidebar/twitter_timeline.html
blob: 16551a2b5eb0d58d928d8f74cd80340c6bea06f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{% if TWITTER_WIDGET_ID %}
  {% from 'includes/sidebar/macros.jinja' import title %}

<!-- Sidebar/Twitter Timeline -->
<li class="list-group-item">
  <h4>{{ title('Latest Tweets', DISABLE_SIDEBAR_TITLE_ICONS, icon='twitter') }}</h4>
  <div id="twitter_timeline">
    <a class="twitter-timeline" data-width="250" data-height="300" data-dnt="true" data-theme="light" href="https://twitter.com/{{TWITTER_USERNAME}}">Tweets by {{TWITTER_USERNAME}}</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
  </div>
</li>
<!-- End Sidebar/Twitter Timeline -->
{% endif %}