mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 13:53:43 -04:00
Added preconnect for Google Fonts for faster loading
This commit is contained in:
@@ -115,6 +115,9 @@
|
||||
|
||||
<!-- Webfonts -->
|
||||
{% block fonts %}
|
||||
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin />
|
||||
|
||||
<!-- Load fonts from Google -->
|
||||
{% if font != false %}
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="https://fonts.googleapis.com/css?family={{
|
||||
|
||||
Reference in New Issue
Block a user