From 072200d740c6c711d6042af0fdff04bbd7fe6646 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 9 Apr 2021 14:13:39 +0300 Subject: put theme settings under site.settings --- _includes/common/bootstrap_css.html | 6 +++--- _includes/common/bootstrap_js.html | 6 +++--- _includes/common/header.html | 8 ++++---- _includes/common/ie_compat.html | 10 +++++----- _includes/common/jquery.html | 6 +++--- _includes/common/navbar.html | 2 +- _includes/common/sidebar.html | 4 ++-- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/_includes/common/bootstrap_css.html b/_includes/common/bootstrap_css.html index f47b856..72c078b 100644 --- a/_includes/common/bootstrap_css.html +++ b/_includes/common/bootstrap_css.html @@ -1,5 +1,5 @@ -{% if site.minified_externals %} - +{% if site.settings.3rdparty.minified %} + {% else %} - + {% endif %} diff --git a/_includes/common/bootstrap_js.html b/_includes/common/bootstrap_js.html index e724257..3f80e7d 100644 --- a/_includes/common/bootstrap_js.html +++ b/_includes/common/bootstrap_js.html @@ -1,5 +1,5 @@ -{% if site.minified_externals %} - +{% if site.settings.3rdparty.minified %} + {% else %} - + {% endif %} diff --git a/_includes/common/header.html b/_includes/common/header.html index 7f5390e..4020667 100644 --- a/_includes/common/header.html +++ b/_includes/common/header.html @@ -5,10 +5,10 @@ - {% if site.project.name %} - {{ page.title }} - {{ site.project.name }} - {{ site.personal_info.name }} + {% if site.settings.project.name %} + {{ page.title }} - {{ site.settings.project.name }} - {{ site.settings.author.name }} {% else %} - {{ page.title }} - {{ site.personal_info.name }} + {{ page.title }} - {{ site.settings.author.name }} {% endif %} {% include common/bootstrap_css.html %} @@ -20,7 +20,7 @@