feat(image): custom background image

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-10 00:18:50 +01:00
parent bbacda44f8
commit 8129d4f13d
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
4 changed files with 27 additions and 5 deletions

View file

@ -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>