From 2479177a3424ac8d3bbbdd9b2eba735fe21eb04b Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 2 Sep 2019 15:56:24 +0300 Subject: [PATCH] fix: font not found for 1950s and Coffee themes Fix #1314 --- layouts/partials/functions/parse_theme.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/functions/parse_theme.html b/layouts/partials/functions/parse_theme.html index af30d1c5..4237b601 100644 --- a/layouts/partials/functions/parse_theme.html +++ b/layouts/partials/functions/parse_theme.html @@ -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 -}}