<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>标签：前端 - Sinon的博客</title><link>https://sinon.top/tags/frontend</link><atom:link href="https://sinon.top/tags/frontend/feed/tags/frontend.xml" rel="self" type="application/rss+xml"/><description>Sinon的博客</description><language>zh-cn</language><lastBuildDate>Tue, 3 Nov 2026 13:07:20 GMT</lastBuildDate><item><title><![CDATA[搬完家，一周装修完：博客新前台开发全记录]]></title><link>https://sinon.top/archives/new-frontend-one-week</link><description><![CDATA[<img src="https://sinon.top/plugins/feed/assets/telemetry.gif?title=%E6%90%AC%E5%AE%8C%E5%AE%B6%EF%BC%8C%E4%B8%80%E5%91%A8%E8%A3%85%E4%BF%AE%E5%AE%8C%EF%BC%9A%E5%8D%9A%E5%AE%A2%E6%96%B0%E5%89%8D%E5%8F%B0%E5%BC%80%E5%8F%91%E5%85%A8%E8%AE%B0%E5%BD%95&amp;url=/archives/new-frontend-one-week" width="1" height="1" alt="" style="opacity:0;">上一篇《把博客搬成纯静态》的结尾，我给主题重写留了一句「那会是另一个系列」。结果它没成系列——成了一次冲刺。九月二十三日迁移收官那天，新前台还只是个能跑的最简骨架：四十四个路由全部预渲染，全站却只有一套临时样式。到今天写下这些字，暗色主题、独立首页、路由体系、文章目录、图片灯箱、边缘加速、追番列表、]]></description><guid isPermaLink="false">/archives/new-frontend-one-week</guid><dc:creator>SinonJZH</dc:creator><category>代码艺术</category><category>学习笔记</category><pubDate>Tue, 29 Sep 2026 18:17:16 GMT</pubDate></item><item><title><![CDATA[从 charabia 到 ICU：我的静态博客搜索里，两本词典打了一架]]></title><link>https://sinon.top/archives/pagefind-charabia-icu-issue</link><description><![CDATA[<img src="https://sinon.top/plugins/feed/assets/telemetry.gif?title=%E4%BB%8E%20charabia%20%E5%88%B0%20ICU%EF%BC%9A%E6%88%91%E7%9A%84%E9%9D%99%E6%80%81%E5%8D%9A%E5%AE%A2%E6%90%9C%E7%B4%A2%E9%87%8C%EF%BC%8C%E4%B8%A4%E6%9C%AC%E8%AF%8D%E5%85%B8%E6%89%93%E4%BA%86%E4%B8%80%E6%9E%B6&amp;url=/archives/pagefind-charabia-icu-issue" width="1" height="1" alt="" style="opacity:0;">静态站没后端，全文搜索交给 Pagefind 在访客的浏览器里跑。上线第二天我用真实词一搜，复合词全军覆没，单字却条条命中。这篇记录了从复现到修复的全过程——根因是索引侧和查询侧各带一本中文词典、切法还不一样；修法是把索引侧对齐到浏览器这本，而查询侧连一点插手的余地都没有。 搜索是前一天刚上线的。静]]></description><guid isPermaLink="false">/archives/pagefind-charabia-icu-issue</guid><dc:creator>SinonJZH</dc:creator><category>代码艺术</category><category>学习笔记</category><pubDate>Tue, 29 Sep 2026 17:48:20 GMT</pubDate></item><item><title><![CDATA[把博客搬成纯静态：一次 WordPress → Halo 迁移的全记录]]></title><link>https://sinon.top/archives/static-migration-wordpress-to-halo</link><description><![CDATA[<img src="https://sinon.top/plugins/feed/assets/telemetry.gif?title=%E6%8A%8A%E5%8D%9A%E5%AE%A2%E6%90%AC%E6%88%90%E7%BA%AF%E9%9D%99%E6%80%81%EF%BC%9A%E4%B8%80%E6%AC%A1%20WordPress%20%E2%86%92%20Halo%20%E8%BF%81%E7%A7%BB%E7%9A%84%E5%85%A8%E8%AE%B0%E5%BD%95&amp;url=/archives/static-migration-wordpress-to-halo" width="1" height="1" alt="" style="opacity:0;">这个九月，我把跑了七年的 WordPress 博客整个搬了家：写作后台换成 Halo，前台重写成 Angular 静态站点，访客看到的每一个字节都来自 nginx 直出的静态文件——全站唯一还连着后端的，只剩评论区。这篇文章记录整个迁移的架构、流程和踩过的坑。坑的密度超出我的预期，其中最大的一个悬案]]></description><guid isPermaLink="false">/archives/static-migration-wordpress-to-halo</guid><dc:creator>SinonJZH</dc:creator><category>日常</category><category>休闲时光</category><pubDate>Wed, 23 Sep 2026 11:18:53 GMT</pubDate></item><item><title><![CDATA[ 一个 p 标签，弄哑了我的 SPA 导航]]></title><link>https://sinon.top/archives/a-p-tag-destroyed-my-nav</link><description><![CDATA[<img src="https://sinon.top/plugins/feed/assets/telemetry.gif?title=%20%E4%B8%80%E4%B8%AA%20p%20%E6%A0%87%E7%AD%BE%EF%BC%8C%E5%BC%84%E5%93%91%E4%BA%86%E6%88%91%E7%9A%84%20SPA%20%E5%AF%BC%E8%88%AA&amp;url=/archives/a-p-tag-destroyed-my-nav" width="1" height="1" alt="" style="opacity:0;">博客迁移收官日，新前台上线不到一小时，我就发现顶栏点不动了。URL 会变、标题会变、页面纹丝不动，console 干净得像什么都没发生过。这牵出了一场持续一整天的悬案：一度结案为「Angular 框架 bug」，最后翻案——凶手是一个不合法的 &lt;p&gt; 标签，藏在我从 WordPress 主题里抄来的]]></description><guid isPermaLink="false">/archives/a-p-tag-destroyed-my-nav</guid><dc:creator>SinonJZH</dc:creator><category>代码艺术</category><category>学习笔记</category><pubDate>Tue, 22 Sep 2026 12:19:44 GMT</pubDate></item></channel></rss>