aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-03-10 11:14:09 +0100
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-03-10 11:14:09 +0100
commit42a96cbb6e81d509d218a36d4cf78fe68742d11e (patch)
tree17ce4628bf5e70fcc328569f2a5fbd22cea2ac54 /templates
parent2d74d8afc321cf84fd5710314bfa6a9ff3c10a32 (diff)
refactor(pages): use html instead of json to render custom pages
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index 70b32af..3b1e37c 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -8,6 +8,11 @@
<title>{{ .Title }}</title>
<link rel="stylesheet" href="{{getAssetPath "styles.css"}}" />
{{template "opengraph-base" .SEO}}
+ {{ if .Data.IsCustomPage }}
+ <style>
+ .links { {{ .Data.Color.Button.GetBackground }}{{ .Data.Color.Button.GetTextColor }} }
+ </style>
+ {{ end }}
</head>
<body style="{{ .Data.GetBackgroundImage }}{{ .Data.GetTextColor }}">
<div class="center">