Skip to content

Commit a41b45a

Browse files
committed
Merge pull request #14 from JuanitoFatas/on-github-btn
Add On GitHub button to Get Updates header
2 parents 0353102 + 9ec7816 commit a41b45a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ titlecase: true # Converts page and post titles to titlecase
3232

3333
twitter_user: rubysec
3434
twitter_tweet_button: true
35+
36+
github_repo: rubysec/rubysec.github.io

_includes/header.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
{% if site.twitter_user %}
1010
<td><a href="https://twitter.com/{{site.twitter_user}}" class="btn"><i class="icon-twitter-sign"></i> On Twitter</a></td>
1111
{% endif %}
12+
<td>&nbsp;</td>
13+
{% if site.github_repo %}
14+
<td><a href="https://github.com/{{site.github_repo}}" class="btn"><i class="icon-github-sign"></i> On GitHub</a></td>
15+
{% endif %}
1216
</tr>
1317
</table>
1418
</div>

0 commit comments

Comments
 (0)