aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/navbar.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-02 21:18:38 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-02 21:18:38 +0300
commitb04c72c2cfdb6f63f4e8419bf5d940fd8f57b443 (patch)
tree89ffac4d52f778f8d055981ac4e3d15e8488be0e /_includes/common/navbar.html
parentworkflows/ci: it's a GitHub theme, no external publishing (diff)
downloadjekyll-theme-b04c72c2cfdb6f63f4e8419bf5d940fd8f57b443.tar.gz
jekyll-theme-b04c72c2cfdb6f63f4e8419bf5d940fd8f57b443.zip
navbar: open GitHub link in a new tab
Diffstat (limited to '')
-rw-r--r--_includes/common/navbar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/common/navbar.html b/_includes/common/navbar.html
index 2002bd0..47ebe6f 100644
--- a/_includes/common/navbar.html
+++ b/_includes/common/navbar.html
@@ -59,7 +59,7 @@
{% capture github_icon %}<span class="glyphicon glyphicon-{{ github_icon }}"></span>&nbsp;{% endcapture %}
{% if site.settings.navbar.github == false %}
{% else %}
- <li><a href="{{ site.github.repository_url }}">{{ github_icon }}{{ github_link | upcase }}</a></li>
+ <li><a href="{{ site.github.repository_url }}" target="_blank">{{ github_icon }}{{ github_link | upcase }}</a></li>
{% endif %}
{% endif %}
</ul>