From 41d5fabe7c423556b01d76d73a2e9242d2f15ac7 Mon Sep 17 00:00:00 2001 From: John Sigmon Date: Sun, 24 May 2020 11:55:57 -0500 Subject: [PATCH] Add relative linking to menu item template and remove base url from header template --- layouts/partials/header.html | 2 -- layouts/partials/li.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fa7fa5c..173de3c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -10,8 +10,6 @@ {{ with .Site.Params.meta.description }}{{ end }} {{ with .Site.Params.meta.keywords }}{{ end }} - - {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ if eq $url "" }} {{ .Site.Title }} {{ else }} {{ .Site.Title }} - {{ .Title }} {{ end }} diff --git a/layouts/partials/li.html b/layouts/partials/li.html index 43bfe56..b413463 100644 --- a/layouts/partials/li.html +++ b/layouts/partials/li.html @@ -2,7 +2,7 @@