<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="/linen-theme/css/rss-zh.xsl"?>
<rss version="2.0">
<channel>
  <title>Lucas Blog</title>
  <link>https://951114.xyz</link>
  <description>一个使用 Hexo 构建并部署到 Cloudflare Pages 的个人博客。</description>
  <lastBuildDate>Fri, 09 Oct 2026 09:23:27 GMT</lastBuildDate>
  <image>
      <url>https://951114.xyzundefined</url>
      <title>Lucas Blog</title>
      <link>https://951114.xyz</link>
    </image>
  
    <item>
      <title>欢迎来到我的博客(开篇)</title>
      <link>https://951114.xyz/2026/10/09/hello-world/</link>
      <guid>https://951114.xyz/2026/10/09/hello-world/</guid>
      <pubDate>10 月 9 日，2026</pubDate>
      <description><![CDATA[<p>这是博客的第一篇文章 👋</p>
<h2 id="这里会写什么"><a href="#这里会写什么" class="headerlink" title="这里会写什么"></a>这里会写什么</h2><ul>
<li><strong>技术</strong>：开发中遇到的问题、工具和折腾记录</li>
<li><strong>想法</strong>：读书、产品，以及一些零散的思考</li>
<li><strong>生活</strong>：偶尔的旅行和日常</li>
</ul>
<h2 id="这个站点"><a href="#这个站点" class="headerlink" title="这个站点"></a>这个站点</h2><table>
<thead>
<tr>
<th>部分</th>
<th>说明</th>
</tr>
</thead>
<tbody><tr>
<td>生成</td>
<td><a href="https://hexo.io/">Hexo</a> 8</td>
</tr>
<tr>
<td>主题</td>
<td><a href="https://github.com/LynanBreeze/hexo-theme-linen">Linen</a></td>
</tr>
<tr>
<td>源码</td>
<td><a href="https://github.com/LUCASLEEE/hexo-blog">LUCASLEEE&#x2F;hexo-blog</a></td>
</tr>
<tr>
<td>部署</td>
<td>Cloudflare Pages，推送到 <code>main</code> 后自动构建</td>
</tr>
</tbody></table>
<p>想订阅更新，可以点页面右上角的 RSS 图标，或者直接访问 <a href="/feed.xml">&#x2F;feed.xml</a>。</p>
]]></description>
    </item>
    <item>
      <title>示例：Markdown 与图文排版(模板)</title>
      <link>https://951114.xyz/2026/10/08/markdown-guide/</link>
      <guid>https://951114.xyz/2026/10/08/markdown-guide/</guid>
      <pubDate>10 月 8 日，2026</pubDate>
      <description><![CDATA[<blockquote>
<p>这是一篇<strong>示例文章</strong>，内容本身不用保留。把它当成模板，替换成你自己的文字就行。</p>
</blockquote>
<h2 id="标题层级"><a href="#标题层级" class="headerlink" title="标题层级"></a>标题层级</h2><p>正文从二级标题开始，<code>##</code> 会出现在右侧目录里（移动端在顶部的目录按钮里）。</p>
<h3 id="三级标题"><a href="#三级标题" class="headerlink" title="三级标题"></a>三级标题</h3><p>再往下一级用 <code>###</code>。</p>
<h2 id="列表与引用"><a href="#列表与引用" class="headerlink" title="列表与引用"></a>列表与引用</h2><ul>
<li>无序列表第一项</li>
<li>第二项<ul>
<li>嵌套一项</li>
</ul>
</li>
</ul>
<ol>
<li>有序列表</li>
<li>第二项</li>
</ol>
<blockquote>
<p>引用可以放一句想强调的话。</p>
</blockquote>
<h2 id="代码块"><a href="#代码块" class="headerlink" title="代码块"></a>代码块</h2><pre><code class="language-bash">npx hexo new &quot;文章标题&quot;
pnpm run server
</code></pre>
<pre><code class="language-javascript">const posts = await Post.find({ published: true });
</code></pre>
<h2 id="表格"><a href="#表格" class="headerlink" title="表格"></a>表格</h2><table>
<thead>
<tr>
<th>字段</th>
<th>含义</th>
<th>示例</th>
</tr>
</thead>
<tbody><tr>
<td><code>title</code></td>
<td>文章标题</td>
<td>欢迎来到我的博客</td>
</tr>
<tr>
<td><code>cover</code></td>
<td>封面图</td>
<td><code>/img/covers/hello.svg</code></td>
</tr>
<tr>
<td><code>series</code></td>
<td>系列名</td>
<td>写作示例</td>
</tr>
</tbody></table>
<h2 id="单张图片"><a href="#单张图片" class="headerlink" title="单张图片"></a>单张图片</h2><p><img loading="lazy" src="/img/covers/setup.svg"></p>
<h2 id="图集"><a href="#图集" class="headerlink" title="图集"></a>图集</h2><p>横排（<code>landscape</code>）：</p>
<p><span class="image-grid landscape"><span class="grid-item"><img loading="lazy" src="/img/covers/hello.svg"><br><img loading="lazy" src="/img/covers/setup.svg"></span><br></span></p>
<p>左大右小（<code>r73</code>）：</p>
<p><span class="image-grid r73"><span class="grid-item"><img loading="lazy" src="/img/covers/markdown.svg"><br><img loading="lazy" src="/img/covers/hello.svg"></span><br></span></p>
<p>图片点开可以放大查看，这是主题内置的 PhotoSwipe 效果。可用的布局还有 <code>portrait</code>、<code>r37</code>、<code>r64</code>、<code>r46</code>。</p>
]]></description>
    </item>
    <item>
      <title>示例：这个博客是怎么搭起来的</title>
      <link>https://951114.xyz/2026/10/07/site-setup/</link>
      <guid>https://951114.xyz/2026/10/07/site-setup/</guid>
      <pubDate>10 月 7 日，2026</pubDate>
      <description><![CDATA[<h2 id="整体结构"><a href="#整体结构" class="headerlink" title="整体结构"></a>整体结构</h2><p>本地写 Markdown → 推送到 GitHub → Cloudflare Pages 拉取代码、执行 <code>pnpm run build</code> → 发布到 CDN。</p>
<h2 id="一次性的准备工作"><a href="#一次性的准备工作" class="headerlink" title="一次性的准备工作"></a>一次性的准备工作</h2><ol>
<li>本地新建 Hexo 站点，装上主题：</li>
</ol>
<pre><code class="language-bash">pnpm install
pnpm add hexo-theme-linen
</code></pre>
<ol start="2">
<li>把源码推到 GitHub 仓库。</li>
<li>在 Cloudflare Pages 里导入这个仓库，构建配置填：生产分支 <code>main</code>、构建命令 <code>pnpm run build</code>、输出目录 <code>public</code>。</li>
</ol>
<h2 id="日常写作"><a href="#日常写作" class="headerlink" title="日常写作"></a>日常写作</h2><pre><code class="language-bash">npx hexo new &quot;文章标题&quot;   # 新建文章
pnpm run server           # 本地预览 http://localhost:4000
</code></pre>
<p>写完提交推送，剩下的交给 Cloudflare：</p>
<pre><code class="language-bash">git add . &amp;&amp; git commit -m &quot;发布：文章标题&quot; &amp;&amp; git push
</code></pre>
<h2 id="小提示"><a href="#小提示" class="headerlink" title="小提示"></a>小提示</h2><ul>
<li>文章的封面、摘要、系列这些信息写在 Front Matter 里</li>
<li>图片放在 <code>source/img/</code> 下，引用时写 <code>/img/文件名</code></li>
<li>想临时隐藏某篇文章：<code>hide: { recent: true, archive: true }</code></li>
</ul>
]]></description>
    </item>
</channel>
</rss>