diff options
author | runningstream <runningstreamllc@gmail.com> | 2020-01-25 01:25:58 +0300 |
---|---|---|
committer | runningstream <runningstreamllc@gmail.com> | 2020-01-25 01:25:58 +0300 |
commit | 3e6abb500f4f8aa53dfb150977965e25fc49d5d3 (patch) | |
tree | a551aca7267c0cd54fdf9082e534e1af82c1b236 | |
parent | 6cd1cd072d91c01301a1a32a9441c29801f86485 (diff) |
Fix incorrect site and relURL issue
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | docs/index.html | 14 | ||||
-rw-r--r-- | docs/sitemap.xml | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 8 | ||||
-rw-r--r-- | layouts/partials/head.html | 6 |
5 files changed, 18 insertions, 19 deletions
@@ -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 @@ <meta name="generator" content="Hugo 0.58.3"> - <link href="/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> + <link href="https://runningstream.github.io/hugograyscale/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> - <link href="/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> + <link href="https://runningstream.github.io/hugograyscale/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css"> <link href='https://fonts.googleapis.com/css?family=Cabin:700' rel='stylesheet' type='text/css'> - <link href="/css/grayscale.css" rel="stylesheet"> + <link href="https://runningstream.github.io/hugograyscale/css/grayscale.css" rel="stylesheet"> @@ -122,11 +122,11 @@ </footer> - <script src="/vendor/jquery/jquery.min.js"></script> - <script src="/vendor/bootstrap/js/bootstrap.bundle.min.js"></script> + <script src="https://runningstream.github.io/hugograyscale/vendor/jquery/jquery.min.js"></script> + <script src="https://runningstream.github.io/hugograyscale/vendor/bootstrap/js/bootstrap.bundle.min.js"></script> - <script src="/vendor/jquery-easing/jquery.easing.min.js"></script> - <script src="/js/grayscale.min.js"></script> + <script src="https://runningstream.github.io/hugograyscale/vendor/jquery-easing/jquery.easing.min.js"></script> + <script src="https://runningstream.github.io/hugograyscale/js/grayscale.min.js"></script> </body> </html> 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"> <url> - <loc>http://example.com/</loc> + <loc>https://runningstream.github.io/hugograyscale/</loc> <lastmod>2018-09-09T00:00:00+00:00</lastmod> </url> 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 @@ </footer> <!-- Bootstrap core JavaScript --> - <script src="{{ "vendor/jquery/jquery.min.js" | relURL }}"></script> - <script src="{{ "vendor/bootstrap/js/bootstrap.bundle.min.js" | relURL }}"></script> + <script src="{{ "vendor/jquery/jquery.min.js" | absURL }}"></script> + <script src="{{ "vendor/bootstrap/js/bootstrap.bundle.min.js" | absURL }}"></script> <!-- Plugin JavaScript --> - <script src="{{ "vendor/jquery-easing/jquery.easing.min.js" | relURL }}"></script> + <script src="{{ "vendor/jquery-easing/jquery.easing.min.js" | absURL }}"></script> {{- if isset $.Params "mapsapikey" -}} <!-- Google Maps API Key - Use your own API key to enable the map feature. More information on the Google Maps API can be found at https://developers.google.com/maps/ --> @@ -18,4 +18,4 @@ {{- end -}} <!-- Custom scripts for this template --> - <script src="{{ "js/grayscale.min.js" | relURL}}"></script> + <script src="{{ "js/grayscale.min.js" | absURL}}"></script> 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 @@ <meta name="generator" content="Hugo {{ hugo.Version }}"> <!-- Bootstrap core CSS --> - <link href="{{ "vendor/bootstrap/css/bootstrap.min.css" | relURL }}" rel="stylesheet"> + <link href="{{ "vendor/bootstrap/css/bootstrap.min.css" | absURL }}" rel="stylesheet"> <!-- Custom fonts for this template --> - <link href="{{ "vendor/font-awesome/css/font-awesome.min.css" | relURL }}" rel="stylesheet" type="text/css"> + <link href="{{ "vendor/font-awesome/css/font-awesome.min.css" | absURL }}" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css"> <link href='https://fonts.googleapis.com/css?family=Cabin:700' rel='stylesheet' type='text/css'> <!-- Custom styles for this template --> - <link href="{{ "css/grayscale.css" | relURL }}" rel="stylesheet"> + <link href="{{ "css/grayscale.css" | absURL }}" rel="stylesheet"> {{ template "_internal/google_analytics_async.html" . }} |