We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9db2f7 commit 2bb8536Copy full SHA for 2bb8536
material/plugins/social/plugin.py
@@ -388,7 +388,7 @@ def _load_font(self, config):
388
389
# Retrieve from theme (default: Roboto)
390
theme = config.theme
391
- if theme["font"]:
+ if isinstance(theme["font"], dict) and "text" in theme["font"]:
392
name = theme["font"]["text"]
393
else:
394
name = "Roboto"
src/plugins/social/plugin.py
0 commit comments