aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-10 00:18:50 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-10 00:18:50 +0100
commit8129d4f13d4c25874e48394fce8b3dccb123a92b (patch)
tree94753f4dde659852829d1d20ee29e3c7df617d1f /templates
parentbbacda44f8cd1629d311ce0242fd01124fe4c876 (diff)
feat(image): custom background image
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index 581c2b0..12568ed 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -9,11 +9,11 @@
<link rel="stylesheet" href="{{getAssetPath "styles.css"}}" />
{{template "opengraph-base" .SEO}}
</head>
- <body>
+ <body style="{{ .Data.GetBackgroundImage }}">
{{template "body" .Data}}
<div class="credits">
<p>Crafted by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a></p>
- <p><a href="/legal">Legal information</a></p>
+ <p><a href="{{ .Data.Legal.LegalInformationLink }}">Legal information</a></p>
</div>
<script type="module" src="{{getAssetPath "index.js"}}" defer></script>
</body>