From 0b13dadaacc964ad275794f457ec587069b890e9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 8 Apr 2021 21:35:11 +0300 Subject: use relative_url instead of site.baseurl --- _includes/common/header.html | 6 +++--- _includes/common/navbar.html | 4 ++-- _includes/common/paginator.html | 8 ++++---- _includes/common/sidebar.html | 2 +- _layouts/category.html | 4 ++-- _layouts/post.html | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_includes/common/header.html b/_includes/common/header.html index d95c0a0..8abe740 100644 --- a/_includes/common/header.html +++ b/_includes/common/header.html @@ -13,12 +13,12 @@ {% include common/bootstrap_css.html %} - - + + {% if page.custom_css %} {% for css in page.custom_css %} - + {% endfor %} {% endif %} diff --git a/_includes/common/navbar.html b/_includes/common/navbar.html index 6cf0e74..8ec0812 100644 --- a/_includes/common/navbar.html +++ b/_includes/common/navbar.html @@ -21,9 +21,9 @@ {% endif %} {% if node.groups contains 'navbar' %} {% if page.url == node.url %} -
  • {{ node.navbar_link }}
  • +
  • {{ node.navbar_link }}
  • {% else %} -
  • {{ node.navbar_link }}
  • +
  • {{ node.navbar_link }}
  • {% endif %} {% endif %} {% endfor %} diff --git a/_includes/common/paginator.html b/_includes/common/paginator.html index 659ea87..471383c 100644 --- a/_includes/common/paginator.html +++ b/_includes/common/paginator.html @@ -14,7 +14,7 @@ {% endif %}