From 262f6fad434288e990435e6ef34f2d23b989f85e Mon Sep 17 00:00:00 2001
From: mountainbug95 <tannersmithtn95@gmail.com>
Date: Mon, 17 Feb 2020 17:09:02 +0000
Subject: [PATCH] Add the post_content_classes param for changing post content font
---
layouts/_default/single.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a940308..e63f129 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -45,7 +45,7 @@
<span class="f6 mv4 dib tracked"> - {{ .WordCount}} words</span>
{{ end }}
</header>
- <div class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
+ <div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes" | default "serif"}} f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
{{- .Content -}}
{{- partial "tags.html" . -}}
<div class="mt6 instapaper_ignoref">
--
Gitblit v1.10.0