mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
CSS: Prevent Hugo encoding Google Fonts and fix docs sidebar toggle bg
Close #707
This commit is contained in:
1 parent
09c3164f51
commit
f754e4c7e5
2 files changed
+2
-1
No files matched your search
@@ -1604,6 +1604,7 @@ div.alert a {
|
||||
line-height: 1;
|
||||
font-size: 1.2rem;
|
||||
color: {{ .Get "primary" }};
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.docs-links {
|
||||
|
||||
@@ -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" href="{{ printf "//fonts.googleapis.com/css?family=%s" . }}">
|
||||
<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