fix: font not found for 1950s and Coffee themes

Fix #1314
This commit is contained in:
George Cushen committed 2019-09-02 15:56:24 +03:00
1 parent 166ded2480
commit 2479177a34
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
{{- $scr := .Scratch -}}
{{- $theme_index := (site.Params.theme | lower | replaceRE "\\s" "_") | default "minimal" -}}
{{- $font_index := (index site.Data.themes $theme_index).font_theme | default (site.Params.font | lower | replaceRE "\\s" "_") | default $theme_index | default "minimal" -}}
{{- $font_index := (index site.Data.themes $theme_index).font | default (site.Params.font | lower | replaceRE "\\s" "_") | default $theme_index | default "minimal" -}}
{{- $font_size := site.Params.font_size | default "m" -}}
{{- $font_sizes := dict "s" 16 "m" 21 "l" 25 -}}