From 381a6c2073d71fce746b5bd173b7fba2491a5518 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 27 Feb 2022 10:45:00 +0000 Subject: [PATCH] fix: move font_size under site.Params.appearance See https://discord.com/channels/722225264733716590/742863504515793149/947330978089676830 --- wowchemy/layouts/partials/functions/parse_theme.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wowchemy/layouts/partials/functions/parse_theme.html b/wowchemy/layouts/partials/functions/parse_theme.html index ac2a3888..211f38db 100644 --- a/wowchemy/layouts/partials/functions/parse_theme.html +++ b/wowchemy/layouts/partials/functions/parse_theme.html @@ -36,7 +36,7 @@ {{/* Get Font Size. */}} -{{- $font_size := lower site.Params.font_size | default "l" -}} +{{- $font_size := lower site.Params.appearance.font_size | default "l" -}} {{- $font_sizes := dict "xs" 14 "s" 16 "m" 18 "l" 21 "xl" 23 -}} {{- $font_size_numeric := (index $font_sizes $font_size) | default (index $font_sizes "l") -}} {{- $scr.Set "font_size" $font_size_numeric -}}