From e3f3e83bc9ab7a89d963233fa8b94340638bb96f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Nov 2021 20:30:18 +0300 Subject: sidebar: use site.settings.navbar.github settings --- _includes/common/sidebar.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '_includes') 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 @@

{{ project_desc }}

{% if site.github %} -  GitHub repository + {% assign github_link = site.settings.navbar.github.link | default: 'GitHub' %} + {% assign github_icon = site.settings.navbar.github.icon | default: 'globe' %} + {% capture github_icon %} {% endcapture %} + {{ github_icon }}{{ github_link }} {% endif %} {% assign author_email = site.settings.author.email | default: 'John.Doe@example.com' %}  {{ author_email }} -- cgit v1.2.3