diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/common/sidebar.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html index 929cabe..825f73e 100644 --- a/_includes/common/sidebar.html +++ b/_includes/common/sidebar.html @@ -14,7 +14,10 @@ <p>{{ project_desc }}</p> <div class="list-group wide-enough"> {% if site.github %} - <a class="list-group-item" href="{{ site.github.repository_url }}"><span class="glyphicon glyphicon-home"></span> GitHub repository</a> + {% assign github_link = site.settings.navbar.github.link | default: 'GitHub' %} + {% assign github_icon = site.settings.navbar.github.icon | default: 'globe' %} + {% capture github_icon %}<span class="glyphicon glyphicon-{{ github_icon }}"></span> {% endcapture %} + <a class="list-group-item" href="{{ site.github.repository_url }}" target="_blank">{{ github_icon }}{{ github_link }}</a> {% endif %} {% assign author_email = site.settings.author.email | default: 'John.Doe@example.com' %} <a class="list-group-item" href="mailto:{{ author_email }}"><span class="glyphicon glyphicon-envelope"></span> {{ author_email }}</a> |