diff options
| author | Eltrac <eltrac233@gmail.com> | 2024-11-28 22:54:58 +0800 |
|---|---|---|
| committer | Eltrac <eltrac233@gmail.com> | 2024-11-28 22:54:58 +0800 |
| commit | fbca85cc9ef28877cff7a82a0ba52408f47c6754 (patch) | |
| tree | f18a6653011e862e25280f791641b5fa34d05c36 | |
| parent | 4c572bad6ab0c08788ec4da761cbaf3bda2e9a8f (diff) | |
perf(theme): use unpkg cdn to deliver waline css
| -rw-r--r-- | themes/yinyang/layouts/partials/head.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/themes/yinyang/layouts/partials/head.html b/themes/yinyang/layouts/partials/head.html index cbe76788..436ae93f 100644 --- a/themes/yinyang/layouts/partials/head.html +++ b/themes/yinyang/layouts/partials/head.html @@ -48,9 +48,12 @@ {{ with resources.Get "css/flexboxgrid-6.3.1.min.css" | minify }} <style>{{ .Content | safeCSS }}</style> {{ end }} - {{ with resources.Get "css/waline.css" | minify }} - <style>{{ .Content | safeCSS }}</style> - {{ end }} + + <!-- waline --> + <link + rel="stylesheet" + href="https://unpkg.com/@waline/client@v3/dist/waline.css" + /> <!-- FancyBox --> <script src="https://unpkg.com/@fancyapps/ui@5.0.36/dist/fancybox/fancybox.umd.js"></script> |
