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

github.com/your-identity/hugo-theme-dimension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authord-asnaghi <asnaghi@me.com>2020-05-17 17:16:34 +0300
committerd-asnaghi <asnaghi@me.com>2020-05-17 17:16:34 +0300
commit0b911c75329ec5c025f7293b11db3e703aae4589 (patch)
tree0d2b9589240cf14035c0bd49e279caa2433f0442
parent1fbe502e38309b2763951132e6ce519cf7bc4a02 (diff)
[HUGO] images absURL
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2b68857..2573693 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -7,6 +7,6 @@
<link rel="stylesheet" href="/assets/css/main.css" />
<noscript><link rel="stylesheet" href="/assets/css/noscript.css" /></noscript>
<style>
- :root{--site-background : url("{{ .Params.background | default "/images/bg.jpg" }}")};
+ :root{--site-background : url("{{ .Params.background | default "/images/bg.jpg" | absURL }}")};
</style>
</head> \ No newline at end of file