Browse Source

fix: move font_size under site.Params.appearance

See https://discord.com/channels/722225264733716590/742863504515793149/947330978089676830
George Cushen 2 years ago
parent
commit
381a6c2073
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wowchemy/layouts/partials/functions/parse_theme.html

+ 1 - 1
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 -}}