aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml2
-rw-r--r--templates/page/index.gohtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index 12568ed..003eab1 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -9,7 +9,7 @@
<link rel="stylesheet" href="{{getAssetPath "styles.css"}}" />
{{template "opengraph-base" .SEO}}
</head>
- <body style="{{ .Data.GetBackgroundImage }}">
+ <body style="{{ .Data.GetBackgroundImage }}{{ .Data.GetTextColor }}">
{{template "body" .Data}}
<div class="credits">
<p>Crafted by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a></p>
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml
index cfb90ed..fccb7a5 100644
--- a/templates/page/index.gohtml
+++ b/templates/page/index.gohtml
@@ -1,5 +1,5 @@
{{define "body"}}
- <main style="{{ .GetBackground }}{{ .GetTextColor }}">
+ <main style="{{ .GetBackground }}">
<div class="presentation">
<figure>
<img src="{{ getStaticPath .Person.Image }}" alt="{{ .Person.Name }}'s image">