diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-25 22:36:47 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-25 22:36:47 +0900 |
| commit | b206b17dfffee47940d391dd8dfbcfd79cc6861e (patch) | |
| tree | 404a7b71882e1f2d08c7170b0e2e6e674ab632ae /vhosts/blog/nuldoc-src/pages | |
| parent | a3dd384695b5da93e69379be862eb7f0968c187b (diff) | |
| download | nsfisis.dev-b206b17dfffee47940d391dd8dfbcfd79cc6861e.tar.gz nsfisis.dev-b206b17dfffee47940d391dd8dfbcfd79cc6861e.tar.zst nsfisis.dev-b206b17dfffee47940d391dd8dfbcfd79cc6861e.zip | |
feat(blog/nuldoc): add `defer` attribute to some `script` tags
Diffstat (limited to 'vhosts/blog/nuldoc-src/pages')
| -rw-r--r-- | vhosts/blog/nuldoc-src/pages/AboutPage.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vhosts/blog/nuldoc-src/pages/AboutPage.tsx b/vhosts/blog/nuldoc-src/pages/AboutPage.tsx index 99953b3e..1fe6adac 100644 --- a/vhosts/blog/nuldoc-src/pages/AboutPage.tsx +++ b/vhosts/blog/nuldoc-src/pages/AboutPage.tsx @@ -25,8 +25,12 @@ export default function AboutPage( <header className="post-header"> <h1 className="post-title">nsfisis</h1> <div className="my-icon"> - <StaticScript fileName="/my-icon.js" config={config} /> <div id="myIcon" /> + <StaticScript + fileName="/my-icon.js" + defer="true" + config={config} + /> <noscript> <img src="/favicon.svg" /> </noscript> |
