diff options
author | Philip Hofstetter <phofstetter@sensational.ch> | 2011-08-04 21:21:25 +0200 |
---|---|---|
committer | Philip Hofstetter <phofstetter@sensational.ch> | 2011-08-04 21:21:25 +0200 |
commit | 2e1f0c0bfc8d6f7cbc70a753e5424dbfb30b4d44 (patch) | |
tree | 02dcce9442a8a9d3e5c9f6bf7d832c59a59bbb44 | |
parent | 08af7b4e383976858ca5b7dd3246525c17bcb941 (diff) | |
download | my_new_personal_website-2e1f0c0bfc8d6f7cbc70a753e5424dbfb30b4d44.tar.xz my_new_personal_website-2e1f0c0bfc8d6f7cbc70a753e5424dbfb30b4d44.zip |
provide an option to show or not show github profile link
-rw-r--r-- | .themes/classic/source/_includes/asides/github.html | 3 | ||||
-rw-r--r-- | _config.yml | 1 |
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 |