Skip to content

Commit

Permalink
Move Get In Touch section to sidebar for all pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvogt committed Apr 24, 2015
1 parent ea23bbc commit 0abe99a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
19 changes: 19 additions & 0 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/FriendsOfCake" data-widget-id="589326245105565696">Tweets by @FriendsOfCake</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>

<section>
<h2>Get In Touch</h2>
<p>Have a plugin or project that would benefit the community? Get in touch to discuss adopting it into Friends Of Cake, increasing its visibility and reach.</p>
<p>We hang out in our friendly IRC channel <strong>#FriendsOfCake</strong> on Freenode.</p>
</section>
14 changes: 1 addition & 13 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,7 @@
{{ content }}
</div>
<div class="col-md-4">
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/FriendsOfCake" data-widget-id="589326245105565696">Tweets by @FriendsOfCake</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>
{% include sidebar.html %}
</div>
</div><!-- /.row -->
</div>
Expand Down
6 changes: 0 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,3 @@ <h4>{{ project.name }}</h4>
</div>
{% endfor %}
</div>

<section>
<h2>Get In Touch</h2>
<p>Do you have a plugin or project that would benefit the community? Get in touch to discuss adopting it into Friends Of Cake, increasing its visibility and reach.</p>
<p>We hang out in our friendly IRC channel <strong>#FriendsOfCake</strong> on Freenode.</p>
</section>

0 comments on commit 0abe99a

Please sign in to comment.