Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/runningstream/hugograyscale.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrunningstream <runningstreamllc@gmail.com>2020-01-25 01:25:58 +0300
committerrunningstream <runningstreamllc@gmail.com>2020-01-25 01:25:58 +0300
commit3e6abb500f4f8aa53dfb150977965e25fc49d5d3 (patch)
treea551aca7267c0cd54fdf9082e534e1af82c1b236
parent6cd1cd072d91c01301a1a32a9441c29801f86485 (diff)
Fix incorrect site and relURL issue
-rw-r--r--Makefile7
-rw-r--r--docs/index.html14
-rw-r--r--docs/sitemap.xml2
-rw-r--r--layouts/partials/footer.html8
-rw-r--r--layouts/partials/head.html6
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 @@
<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" . }}