aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Hofstetter <phofstetter@sensational.ch>2011-08-04 21:21:25 +0200
committerPhilip Hofstetter <phofstetter@sensational.ch>2011-08-04 21:21:25 +0200
commit2e1f0c0bfc8d6f7cbc70a753e5424dbfb30b4d44 (patch)
tree02dcce9442a8a9d3e5c9f6bf7d832c59a59bbb44
parent08af7b4e383976858ca5b7dd3246525c17bcb941 (diff)
downloadmy_new_personal_website-2e1f0c0bfc8d6f7cbc70a753e5424dbfb30b4d44.tar.xz
my_new_personal_website-2e1f0c0bfc8d6f7cbc70a753e5424dbfb30b4d44.zip
provide an option to show or not show github profile link
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_includes/asides/github.html3
-rw-r--r--_config.yml1
2 files changed, 4 insertions, 0 deletions
diff --git a/.themes/classic/source/_includes/asides/github.html b/.themes/classic/source/_includes/asides/github.html
index 5e0b0ed2..74f8ea95 100644
--- a/.themes/classic/source/_includes/asides/github.html
+++ b/.themes/classic/source/_includes/asides/github.html
@@ -4,6 +4,9 @@
<ul id="gh_repos">
<li class="loading">Status updating...</li>
</ul>
+ {% if site.github_show_profile_link %}
+ <a href="https://github.com/{{site.github_user}}">@{{site.github_user}}</a> on Github
+ {% endif %}
<script type="text/javascript">
$.domReady(function(){
if (!window.jXHR){
diff --git a/_config.yml b/_config.yml
index a50abb3f..a5f43225 100644
--- a/_config.yml
+++ b/_config.yml
@@ -58,6 +58,7 @@ twitter_tweet_button: true
# github repositories
github_user:
github_repo_count: 0
+github_show_profile_link: true
# Google Plus
google_plus_one: true