<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Elauk的站</title><description>Elauk 的个人小站：日常记录、零碎折腾、偶尔整蛊。干净、安静、不讲大道理。</description><link>https://elauk.top/</link><templateTheme>Firefly</templateTheme><templateThemeVersion>V2.8.1</templateThemeVersion><templateThemeUrl>https://github.com/CuteLeaf/Firefly</templateThemeUrl><lastBuildDate>2026年9月5日 19:23:53</lastBuildDate><item><title>你好，这里是 Elauk 的站</title><link>https://elauk.top/posts/hello-elauk/</link><guid isPermaLink="true">https://elauk.top/posts/hello-elauk/</guid><description>开张大吉。把原来的 WordPress 换成了 Astro + Firefly-Mod 主题，纯静态、加载快、长得好玩。</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>[!NOTE] 公告
这是站点的第一篇文章。原 WordPress 已经退役，整个站现在是基于 <a href="https://astro.build/">Astro</a> + <a href="https://github.com/CuteLeaf/Firefly">Firefly</a> 主题的纯静态站。</p>
</blockquote>
<h2>为什么换</h2>
<ul>
<li>原来的 WP 子主题（elauk）维护起来太费劲，更新一次主题就要重做一堆工作</li>
<li>文章不多（就一篇 hello world），迁出零成本</li>
<li>想找一个"开箱即用、动效漂亮、不讲大道理"的博客模板，看了一圈觉得 <a href="https://github.com/MmzMing/my-blog">MmzMing 魔改的 Firefly</a> 最顺手</li>
</ul>
<h2>接下来</h2>
<ul>
<li>旧的好东西页（<code>prank.html</code>）会从站内的快捷入口进入，保留</li>
<li>自研的音乐 API 暂时挂着，原模板的 3D 可视化播放器还没接通</li>
<li>欢迎页这段文案以后慢慢改，先把站跑起来</li>
</ul>
<h2>一句</h2>
<p>每天都要咕咕嘎嘎。</p>
]]></content:encoded></item><item><title>站点运行笔记</title><link>https://elauk.top/posts/site-runtime-notes/</link><guid isPermaLink="true">https://elauk.top/posts/site-runtime-notes/</guid><description>把 WP 换成 Astro 静态站过程中的一些决定和坑。</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><content:encoded><![CDATA[<h2>改了什么</h2>
<ul>
<li>站点结构从 <code>wordpress/</code> 子目录搬到站点根，纯静态产物</li>
<li>保留自研资产：<code>api.php</code>（音乐 API）、<code>prank.html</code>（好东西页）、<code>uploads/</code>（你的 BGM/封面/歌词）</li>
<li>评论/统计/留言板暂关，等需要时再单独部署</li>
</ul>
<h2>一些注意</h2>
<ul>
<li>主题来自 <a href="https://github.com/MmzMing/my-blog">MmzMing/my-blog</a>（基于 CuteLeaf/Firefly 的魔改）</li>
<li>文章以 Markdown 形式放在 <code>src/content/posts/</code>，构建期生成</li>
<li>封面图直接放在文章旁的 <code>image</code> 字段，构建期自动优化</li>
</ul>
<h2>跑起来</h2>
<pre><code class="language-bash">pnpm install
pnpm build       # 产出 dist/
pnpm preview     # 本地预览
</code></pre>
<p>部署到服务器只需要 <code>dist/</code> 目录的全部内容，nginx 不用改。</p>
]]></content:encoded></item></channel></rss>