diff options
author | Mole Shang <[email protected]> | 2024-03-29 00:09:41 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2024-03-29 00:09:41 +0800 |
commit | bfb359b526cb94587a5aaf03dda4d3a539811240 (patch) | |
tree | 3b61b1150dc8aa483eceae3089b9f2258a48d2c8 /templates | |
parent | af73327f5cd282660b4bd15e3139bb775858370b (diff) | |
download | Seje2-bfb359b526cb94587a5aaf03dda4d3a539811240.tar.gz Seje2-bfb359b526cb94587a5aaf03dda4d3a539811240.tar.bz2 Seje2-bfb359b526cb94587a5aaf03dda4d3a539811240.zip |
Revert "templates: load pange.js for auto-spacing"
This reverts commit 3c8f655c73c4ba4706f0f7fb86a574f7c60b43c5.
Chrome 123 finally supports `text-autospace` and `text-spacing-trim`
property.
Thank lord for CJK.
Conflicts:
templates/base.html
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html index 51e1dba..879ad7b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -62,12 +62,6 @@ <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> <script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "8078c5560e6540b784765f5c22f73c62"}'></script> {% block metadata %}{# <meta property="og:image" content="/<%= theme.favicon %>"> #}{% endblock %} </head> |