From e4c5bb57ca3d5372147f335d8f074304afc31248 Mon Sep 17 00:00:00 2001 From: Alexis Tacnet Date: Sat, 31 Dec 2016 12:10:33 +0100 Subject: [PATCH] The baseURL should have a slash at the end --- exampleSite/config.toml | 2 +- layouts/partials/head_includes.html | 8 ++++---- layouts/partials/header.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5d61404..93cf550 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,4 +1,4 @@ -baseurl = "https://example.com" +baseurl = "https://example.com/" theme = "cocoa-eh-hugo-theme" builddrafts = true canonifyurls = true diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index cc26c7d..b7fbbe1 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -14,9 +14,9 @@ {{ end }} - - - + + + {{range .Site.Params.extracssfiles}} @@ -27,7 +27,7 @@ {{ if .Site.Params.faviconfile }} href="{{ .Site.Params.faviconfile | absURL }}" {{ else }} - href="{{ .Site.BaseURL }}/img/favicon.ico" + href="{{ .Site.BaseURL }}img/favicon.ico" {{ end }} > diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 61550cd..5eafc08 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -18,8 +18,8 @@