From 8da12539f30bd722e73a5bafb90ca41b25e3da33 Mon Sep 17 00:00:00 2001 From: TommySprat Date: Tue, 4 Jun 2019 00:26:09 +0200 Subject: [PATCH] Support baseurl without trailing slash --- layouts/_default/baseof.html | 6 +++--- layouts/partials/cookie-consent.html | 4 ++-- layouts/robots.txt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9e9663b..5163bba 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,10 +14,10 @@ {{ if eq .Lang "ar" }} {{ "" | safeHTML }} - + {{ else }} {{ "" | safeHTML }} - + {{ end }} {{ "" | safeHTML }} @@ -55,7 +55,7 @@ {{ if (ne .Site.Params.header_visible false) }}
-

{{ .Site.Title | safeHTML }}

+

{{ .Site.Title | safeHTML }}

{{ if .Site.Params.description }}

{{ .Site.Params.description | markdownify }}

{{ end }}
diff --git a/layouts/partials/cookie-consent.html b/layouts/partials/cookie-consent.html index 05b81ed..24d5689 100644 --- a/layouts/partials/cookie-consent.html +++ b/layouts/partials/cookie-consent.html @@ -1,5 +1,5 @@ - - + +