From 24bcf9de5332f2b35cc08757f671666b8f985e09 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 18 Oct 2020 11:56:29 +0200 Subject: [PATCH] Removed unnecessary URL filter --- material/partials/header.html | 2 +- src/partials/header.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/material/partials/header.html b/material/partials/header.html index dc1bd0e38..07707ab14 100644 --- a/material/partials/header.html +++ b/material/partials/header.html @@ -3,7 +3,7 @@ -#} {% set site_url = config.site_url | default(nav.homepage.url, true) | url %} {% if not config.use_directory_urls and site_url[0] == site_url[-1] == "." %} - {% set site_url = site_url ~ "/index.html" | url %} + {% set site_url = site_url ~ "/index.html" %} {% endif %}