From eb4564067f510e372ace4129105f0d754a7c5d8c Mon Sep 17 00:00:00 2001 From: Marcin Mierzejewski Date: Sun, 3 May 2020 19:24:43 +0200 Subject: [PATCH] config: add https protocol at the baseURL value and remove the 1st forward slash in the url values of params.navlinks --- exampleSite/config.toml | 6 +++--- layouts/_default/baseof.html | 2 +- layouts/index.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7226a4e..78b24bd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,4 +1,4 @@ -baseurl = "//example.com/" +baseurl = "https://example.com/" title = "console-demo" theme = "hugo-theme-console" languageCode = "en-us" @@ -6,11 +6,11 @@ languageCode = "en-us" [params] [[params.navlinks]] name = "about/" - url = "/about/" + url = "about/" [[params.navlinks]] name = "posts/" - url = "/posts/" + url = "posts/" [[params.navlinks]] name = "photos/" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2c71714..00fdf16 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -33,7 +33,7 @@