From 5037094b123164f7f7c5fc364c6f8ebc2d06e2f1 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 7 Mar 2021 19:23:24 +0100 Subject: [PATCH] Fixed problems with mike when logo points to site_url --- material/partials/header.html | 6 +----- material/partials/nav.html | 6 +----- src/partials/header.html | 8 +------- src/partials/nav.html | 8 +------- 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/material/partials/header.html b/material/partials/header.html index bb0f4ecc7..0a3144fd0 100644 --- a/material/partials/header.html +++ b/material/partials/header.html @@ -1,13 +1,9 @@ {#- This file was automatically generated - do not edit -#} -{% set site_url = config.site_url | d(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" %} -{% endif %}