Skip to content

Commit

Permalink
Add twitter stream. Fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstratton committed Nov 20, 2015
1 parent 50cb1bd commit 87956d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 11 additions & 2 deletions themes/devopsdays/layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{{ partial "header.html" . }}

This is the homepage. Edit this and stuff.
<div class = "container-fluid">
<div class = "row">
<div class="col-md-8">
<h1>Upcoming DevOpsDays Events</h1>
</div>
<div class = "col-md-3">
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/search?q=devopsdays%20OR%20devopsday%20OR%20%23devopsday%20OR%20%23devopsdays" data-widget-id="667543157886816256">Tweets about devopsdays OR devopsday OR #devopsday OR #devopsdays</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>
</div>
</div>

{{ partial "footer.html" . }}
1 change: 1 addition & 0 deletions themes/devopsdays/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@
<div class="container">

<div class="row row-offcanvas row-offcanvas-right">
<img src = "/img/devopsdays-banner.png" class = "image-responsive">

0 comments on commit 87956d3

Please sign in to comment.