This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git

commit e5ad36c58fe93d6408590e82c18677ac2e6ddcc6
Author: ken.lj <[email protected]>
AuthorDate: Mon Aug 17 16:23:53 2020 +0800

    override font block: try other CDN resource.
---
 overrides/main.html | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/overrides/main.html b/overrides/main.html
new file mode 100755
index 0000000..0ce0f9e
--- /dev/null
+++ b/overrides/main.html
@@ -0,0 +1,15 @@
+{#-
+  This file was automatically generated - do not edit
+-#}
+{% extends "base.html" %}
+
+{% block fonts %}
+  {% if font != false %}
+  <link href="https://fonts.gstatic.com"; rel="preconnect" crossorigin>
+  <link rel="stylesheet" href="https://fonts.loli.net/css?family={{
+              font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
+              font.code | replace(' ', '+')
+            }}&display=fallback">
+  <style>body,input{font-family:"{{ font.text 
}}",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{
 font.code }}",SFMono-Regular,Consolas,Menlo,monospace}</style>
+  {% endif %}
+{% endblock %}

Reply via email to