mirror of
https://github.com/correl/correl.github.io.git
synced 2024-12-29 11:09:24 +00:00
Add twitter feed
This commit is contained in:
parent
24fcc3bc58
commit
a0414d505e
3 changed files with 11 additions and 0 deletions
4
_includes/twitter.html
Normal file
4
_includes/twitter.html
Normal 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>
|
|
@ -1,5 +1,7 @@
|
|||
{% include header.html %}
|
||||
|
||||
{% include twitter.html %}
|
||||
|
||||
{{ content }}
|
||||
|
||||
{% include footer.html %}
|
||||
|
|
|
@ -24,3 +24,8 @@ article .date {
|
|||
color: #696969;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.twitter-timeline {
|
||||
position: absolute;
|
||||
left: 700px;
|
||||
}
|
Loading…
Reference in a new issue