From 0d97991430036417584e1c951bc58c434ccbf1a3 Mon Sep 17 00:00:00 2001 From: Gavin Rozzi Date: Mon, 1 Nov 2021 14:42:41 -0400 Subject: [PATCH] feat: upgrade Classic font pack to GFonts API v2 (#2516) Small update to fix error re: Google fonts on Classic font set. Without this change Hugo raises the following ERROR: "There is a new version of Google Fonts. Learn how to upgrade your font pack at https://wowchemy.com/docs/customization/#custom-font Error: Error building site: logged 1 error(s)" --- wowchemy/data/fonts/classic.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wowchemy/data/fonts/classic.toml b/wowchemy/data/fonts/classic.toml index 61d1a905..58b59ecb 100644 --- a/wowchemy/data/fonts/classic.toml +++ b/wowchemy/data/fonts/classic.toml @@ -2,7 +2,7 @@ name = "Classic" # Optional Google font URL -google_fonts = "Lato:400,700|Merriweather|Roboto+Mono" +google_fonts = "family=Lato:wght@400;700&family=Merriweather&family=Roboto+Mono" # Font families heading_font = "Lato"