Skip to content

Commit 9d9a9fc

Browse files
committed
Link to Twitter.
1 parent 551c2df commit 9d9a9fc

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

_includes/by_line.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<div class="by_line">
2-
<p><span class="author">{{ post.author }}</span>
3-
<span class="date">{{ post.date | date: "%d %B %Y" }}</span>
4-
{% if page.comment_count %}
5-
{% include comment_count.html %}
2+
<p><span class="author">{{ post.author }}
3+
{% if post.twitter %}
4+
<a href="https://twitter.com/{{ post.twitter }}" class="twitter-follow-button"
5+
data-show-count="false" data-size="large">Follow @{{ post.twitter }}</a>
6+
<script>!function(d,s,id){var
7+
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,
8+
'script', 'twitter-wjs');</script>
9+
</span>
610
{% endif %}
11+
<span class="date">{{ post.date | date: "%d %B %Y" }}</span>
712
</p>
813
</div>

stylesheets/application.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ h4 {
9797
color: #666666; }
9898

9999
p {
100-
font-size: 1.2em; }
100+
font-size: 1.4em; }
101101

102102
.either_or {
103103
margin-top: -2em; }

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy