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

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandomBloke <asleeppiano@outlook.com>2020-02-24 22:04:46 +0300
committerRandomBloke <asleeppiano@outlook.com>2020-02-24 22:04:46 +0300
commitf49df13904871bd441c7e11556df28b443dadbe8 (patch)
treeff33ad8984605d93846341a11d431b7a2a6644a7
parent89ca3fe78a9da9785b894bd6e770a8944a7916b5 (diff)
style and script links changed to abs links
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/head.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 7109a53..bf0236f 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -7,4 +7,4 @@
</div>
</footer>
{{$script := resources.Get "js/script.js"}}
-<script src="{{$script.RelPermalink}}"></script>
+<script src="{{$script.Permalink}}"></script>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2351ccf..f3cc40e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -27,5 +27,5 @@
{{ end -}}
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
- <link rel="stylesheet" href="{{$style.RelPermalink}}" >
+ <link rel="stylesheet" href="{{$style.Permalink}}" >
</head>