<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Hugo on Timmoc 的技术小屋</title>
    <link>https://t1mmoc.github.io/tags/hugo/</link>
    <description>Recent content in Hugo on Timmoc 的技术小屋</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 12 Jul 2026 00:04:00 +0800</lastBuildDate>
    <atom:link href="https://t1mmoc.github.io/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>【AIGC】给 Hugo 博客加一段「GitHub 登录才解密」的私货</title>
      <link>https://t1mmoc.github.io/posts/2026-07-11-encrypted-blog/</link>
      <pubDate>Sat, 11 Jul 2026 00:50:00 +0800</pubDate>
      <guid>https://t1mmoc.github.io/posts/2026-07-11-encrypted-blog/</guid>
      <description>&lt;p&gt;最近想把博客里某些段落只给指定的人看——比如自己半成型的想法、给协作者的草稿，又不想让明文躺在公开仓库里被搜索引擎一抓一个准。&lt;/p&gt;
&lt;p&gt;折腾了一天，搞出一套「静态博客 + 边缘 Worker + GitHub 登录 + 浏览器内 AES 解密」的方案。它不算完美（浏览器内解密注定明文要进 DOM），但在「不托管私密后端」的前提下，已经是我能接受的最小暴露面。下面记一下全过程和踩的坑。&lt;/p&gt;
&lt;h2 id=&#34;设计思路是怎么敲定的&#34;&gt;设计思路是怎么敲定的&lt;/h2&gt;
&lt;p&gt;这东西不是一开始就长这样。最初的想法特朴素：博客发 gpg 加密文章，只有拿到私钥的人能看，最好还能在浏览器里直接解密预览、不下载文件。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;第一版：gpg + 浏览器内桥接。&lt;/strong&gt; 研究了一圈 openpgp.js，结论是「能跑但劝退」——每次阅读都得把私钥粘贴进页面，私钥在剪贴板里走一遭，泄露风险不友好；而且整条链路（桥接层 + 密钥管理）维护成本也高。Pass。&lt;/p&gt;</description>
    </item>
    <item>
      <title>【AIGC】博客全站二次元背景改版 · 技术总结</title>
      <link>https://t1mmoc.github.io/posts/site-bg-redesign/</link>
      <pubDate>Thu, 09 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://t1mmoc.github.io/posts/site-bg-redesign/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;项目：&lt;code&gt;t1mmoc.github.io&lt;/code&gt;（Hugo + PaperMod，GitHub Pages 部署）
范围：本日博客美化包含头像重做、友链页、Giscus 评论、首页改版与全站背景；本文聚焦&lt;strong&gt;最新上线的全站二次元背景改版&lt;/strong&gt;。
状态：已上线（特性分支 → no-ff merge → push main → GitHub Actions 自动部署）。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 id=&#34;0-目标&#34;&gt;0. 目标&lt;/h2&gt;
&lt;p&gt;给博客加&lt;strong&gt;全站二次元随机背景&lt;/strong&gt;，同时满足三个硬约束：&lt;/p&gt;</description>
    </item>
    <item>
      <title>【AIGC】GitHub Pages 全绿却 404？一次离谱的部署 Debug 实录</title>
      <link>https://t1mmoc.github.io/posts/github-pages-404-debug/</link>
      <pubDate>Sun, 05 Jul 2026 18:45:00 +0800</pubDate>
      <guid>https://t1mmoc.github.io/posts/github-pages-404-debug/</guid>
      <description>Actions 全部 Success，站点却一直 404。从 .nojekyll 到 deploy-pages 环境问题，记录这次绕了一大圈的排查过程</description>
    </item>
    <item>
      <title>【AIGC】Hugo &#43; PaperMod &#43; GitHub Pages 搭建踩坑全记录</title>
      <link>https://t1mmoc.github.io/posts/hugo-papermod-pitfalls/</link>
      <pubDate>Sun, 05 Jul 2026 16:45:00 +0800</pubDate>
      <guid>https://t1mmoc.github.io/posts/hugo-papermod-pitfalls/</guid>
      <description>从零搭建 Hugo 博客到 GitHub Pages，PaperMod v8 配置兼容、部署方案选型等踩坑实录</description>
    </item>
  </channel>
</rss>
