From 04f4f235a2d5112bf3faa60a483bebbbcdd380b3 Mon Sep 17 00:00:00 2001 From: Salmanul Farzy Date: Sat, 14 Oct 2017 21:30:32 +0530 Subject: [PATCH] Use relative_url instead of prepend baseurl filter Jekyll 3.3 ships with relative_url filter, Which will ensure baseurl is prepended to anything passed to it. Result of relative_url will always safely produce URL relative to root. goo.gl/KZLhPr --- _includes/footer.html | 2 +- _includes/head.html | 6 +++--- _includes/header.html | 2 +- _includes/icons.html | 2 +- _layouts/home.html | 8 ++++---- feed.xml | 6 +++--- tags.html | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 775bb70..18b9059 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,5 +1,5 @@ {% if site.theme_settings.katex %} - + {% endif %} {% if site.theme_settings.footer_text %} diff --git a/_includes/head.html b/_includes/head.html index 9863729..b0527bb 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -5,16 +5,16 @@ - + - + - + diff --git a/_includes/header.html b/_includes/header.html index bacbfeb..6c3c0e3 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -18,7 +18,7 @@

{% for page in site.pages %} {% if page.title and page.hide != true %}
  • - + {{ page.title }}
  • diff --git a/_includes/icons.html b/_includes/icons.html index 9af893f..86f404f 100644 --- a/_includes/icons.html +++ b/_includes/icons.html @@ -1,6 +1,6 @@ {% if site.theme_settings.rss %}
  • - +
  • diff --git a/_layouts/home.html b/_layouts/home.html index 296c864..e50316c 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -15,7 +15,7 @@