From 3b30dfbac339546d9ae6cd185217699f2044b360 Mon Sep 17 00:00:00 2001
From: Tanner Smith <tannersmithtn95@gmail.com>
Date: Thu, 23 Dec 2021 20:01:14 +0000
Subject: [PATCH] Add option to change content font color (#286)
---
layouts/index.html | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index bb3c5a5..2fbe6cd 100755
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,5 @@
{{ define "main" }}
-
- <article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray">
+ <article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
{{ .Content }}
</article>
{{/* Define a section to pull recent posts from. For Hugo 0.20 this will default to the section with the most number of pages. */}}
--
Gitblit v1.10.0