Add twitter feed

This commit is contained in:
Correl Roush 2014-04-29 13:12:07 -04:00
parent 24fcc3bc58
commit a0414d505e
3 changed files with 11 additions and 0 deletions

4
_includes/twitter.html Normal file
View file

@ -0,0 +1,4 @@
<div>
<a class="twitter-timeline" href="https://twitter.com/correlr" data-widget-id="461175266010624001">Tweets by @correlr</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>

View file

@ -1,5 +1,7 @@
{% include header.html %}
{% include twitter.html %}
{{ content }}
{% include footer.html %}

View file

@ -23,4 +23,9 @@ article .date {
font-weight: normal;
color: #696969;
margin-top: -10px;
}
.twitter-timeline {
position: absolute;
left: 700px;
}