diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index 795adb3..8168dc9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -62,6 +62,12 @@ <link rel="stylesheet" href="https://{{ font_base_url }}/css2?family=Source+Serif+Pro:wght@400;700&display=swap"> <link rel="stylesheet" href="https://{{ font_base_url }}/css2?family={{ fonts_url }}&display=swap"> <style>body { font-family: {{ font_family | safe }} }</style> + <script src="/pangu.min.js"></script> + <script> + document.addEventListener('DOMContentLoaded', () => { + pangu.autoSpacingPage(); + }); + </script> {% block metadata %}{# <meta property="og:image" content="/<%= theme.favicon %>"> #}{% endblock %} </head> <body> |