From 3e6abb500f4f8aa53dfb150977965e25fc49d5d3 Mon Sep 17 00:00:00 2001 From: runningstream Date: Fri, 24 Jan 2020 15:25:58 -0700 Subject: Fix incorrect site and relURL issue --- Makefile | 7 +++---- docs/index.html | 14 +++++++------- docs/sitemap.xml | 2 +- layouts/partials/footer.html | 8 ++++---- layouts/partials/head.html | 6 +++--- 5 files changed, 18 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index b935c55..9cc0a68 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,11 @@ EXAMPLE_SITE := exampleSite -CONFIG_GH_PAGES := exampleSite/config_for_github_pages.toml -CONFIG := exampleSite/config.toml -CONTENT := exampleSite/content +CONFIG_GH_PAGES := config_for_github_pages.toml +CONFIG := config.toml THEMES := ../../ OUTPUT := ../docs docs: - hugo -s ${EXAMPLE_SITE} --themesDir ${THEMES} -d ${OUTPUT} + hugo -s ${EXAMPLE_SITE} --config ${CONFIG_GH_PAGES} --themesDir ${THEMES} -d ${OUTPUT} server: hugo -s ${EXAMPLE_SITE} --themesDir ${THEMES} server diff --git a/docs/index.html b/docs/index.html index dfc265b..5e21071 100644 --- a/docs/index.html +++ b/docs/index.html @@ -15,15 +15,15 @@ - + - + - + @@ -122,11 +122,11 @@ - - + + - - + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 4ffddf8..0ff2b0f 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> - http://example.com/ + https://runningstream.github.io/hugograyscale/ 2018-09-09T00:00:00+00:00 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index fc2fda3..fc10352 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,11 +6,11 @@ - - + + - + {{- if isset $.Params "mapsapikey" -}} @@ -18,4 +18,4 @@ {{- end -}} - + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 31bf7b9..990277e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,14 +16,14 @@ - + - + - + {{ template "_internal/google_analytics_async.html" . }} -- cgit v1.2.3