mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
fix: move font_size under site.Params.appearance
See https://discord.com/channels/722225264733716590/742863504515793149/947330978089676830
This commit is contained in:
parent
48f2ceefe1
commit
381a6c2073
1 changed files with 1 additions and 1 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue