mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 06:14:48 +00:00
fix: move font_size under site.Params.appearance
See https://discord.com/channels/722225264733716590/742863504515793149/947330978089676830
This commit is contained in:
1 parent
48f2ceefe1
commit
381a6c2073
1 file changed
+1
-1
@@ -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 -}}
|
||||
|
||||
Reference in new issue
Block a user