mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-15 00:16:48 +00:00
Properly quote the Google Fonts URL (#736)
This commit is contained in:
1 parent
315fb47cf7
commit
edb547e64e
1 file changed
+1
-1
@@ -84,7 +84,7 @@
|
||||
|
||||
{{/* We cannot use SRI with Google Fonts because the CSS is dynamically generated according to the user agent. */}}
|
||||
{{ with ($scr.Get "google_fonts") }}
|
||||
<link rel="stylesheet" {{ printf "href=//fonts.googleapis.com/css?family=%s" . | safeHTMLAttr }}>
|
||||
<link rel="stylesheet" {{ printf "href=\"//fonts.googleapis.com/css?family=%s\"" . | safeHTMLAttr }}>
|
||||
{{ end }}
|
||||
|
||||
<link rel="stylesheet" href="{{ "styles.css" | relLangURL }}">
|
||||
|
||||
Reference in new issue
Block a user