diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-08 21:35:11 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-08 21:35:11 +0300 |
commit | 0b13dadaacc964ad275794f457ec587069b890e9 (patch) | |
tree | ea32d0cbd20382df53036a24686df8ceaadca84f /_includes/common/header.html | |
parent | paginator: add explanatory comments (diff) | |
download | jekyll-theme-0b13dadaacc964ad275794f457ec587069b890e9.tar.gz jekyll-theme-0b13dadaacc964ad275794f457ec587069b890e9.zip |
use relative_url instead of site.baseurl
Diffstat (limited to '_includes/common/header.html')
-rw-r--r-- | _includes/common/header.html | 6 |
1 files changed, 3 insertions, 3 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 %} - <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/common/footer.css"> - <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/common/misc.css"> + <link rel="stylesheet" href="{{ '/assets/css/common/footer.css' | relative_url }}"> + <link rel="stylesheet" href="{{ '/assets/css/common/misc.css' | relative_url }}"> {% if page.custom_css %} {% for css in page.custom_css %} - <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/{{ css }}"/> + <link rel="stylesheet" href="{{ '/assets/css/' | relative_url }}{{ css }}"/> {% endfor %} {% endif %} |