aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/header.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 14:13:39 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 14:43:22 +0300
commit072200d740c6c711d6042af0fdff04bbd7fe6646 (patch)
tree19e450d4433e386a5b114c1cb92f1d8875568ae0 /_includes/common/header.html
parent_layouts: add page.html (diff)
downloadjekyll-theme-072200d740c6c711d6042af0fdff04bbd7fe6646.tar.gz
jekyll-theme-072200d740c6c711d6042af0fdff04bbd7fe6646.zip
put theme settings under site.settings
Diffstat (limited to '')
-rw-r--r--_includes/common/header.html8
1 files changed, 4 insertions, 4 deletions
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 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
- {% if site.project.name %}
- <title>{{ page.title }} - {{ site.project.name }} - {{ site.personal_info.name }}</title>
+ {% if site.settings.project.name %}
+ <title>{{ page.title }} - {{ site.settings.project.name }} - {{ site.settings.author.name }}</title>
{% else %}
- <title>{{ page.title }} - {{ site.personal_info.name }}</title>
+ <title>{{ page.title }} - {{ site.settings.author.name }}</title>
{% endif %}
{% include common/bootstrap_css.html %}
@@ -20,7 +20,7 @@
</head>
<body>
<div class="top-level-footer-wrapper">
- {% if site.hide_navbar or page.hide_navbar %}
+ {% if site.settings.navbar.hide or page.navbar.hide %}
{% else %}
<div class="footer-wrapper-collapse">
{% include common/navbar.html %}