<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on E7Coding</title><link>https://www.e7coding.com/tags/hugo/</link><description>Recent content in Hugo on E7Coding</description><generator>Hugo</generator><language>zh-cn</language><managingEditor>Joy</managingEditor><webMaster>Joy</webMaster><lastBuildDate>Thu, 11 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.e7coding.com/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>静态博客的零成本托管方案对比</title><link>https://www.e7coding.com/posts/static-site-hosting/</link><pubDate>Thu, 11 Jun 2026 00:00:00 +0000</pubDate><author>Joy</author><guid>https://www.e7coding.com/posts/static-site-hosting/</guid><description>&lt;h2 id="为什么静态站托管几乎免费"&gt;为什么静态站托管几乎免费&lt;/h2&gt;
&lt;p&gt;没有服务器、没有数据库，CDN 直接分发 HTML —— 这让静态博客可以挂在各家
免费额度上长期运行。&lt;/p&gt;
&lt;h2 id="四家对比"&gt;四家对比&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Cloudflare Pages&lt;/strong&gt;：构建额度宽松，全球 CDN 最快，推荐&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Vercel&lt;/strong&gt;：体验顺滑，但商业用途需留意条款&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Netlify&lt;/strong&gt;：老牌，表单/函数生态完整&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GitHub Pages&lt;/strong&gt;：最简单，但构建能力有限&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;对个人博客，&lt;strong&gt;Cloudflare Pages + Hugo&lt;/strong&gt; 是当前性价比最高的组合。&lt;/p&gt;</description></item><item><title>用 Hugo 复刻 Minimal UI 的博客观感</title><link>https://www.e7coding.com/posts/hello-hugo/</link><pubDate>Wed, 10 Jun 2026 00:00:00 +0000</pubDate><author>Joy</author><guid>https://www.e7coding.com/posts/hello-hugo/</guid><description>&lt;h2 id="为什么是-hugo"&gt;为什么是 Hugo&lt;/h2&gt;
&lt;p&gt;Minimal UI 是一套基于 React + MUI 的后台模板，观感精炼。但个人博客并不需要一个运行时
SPA —— 静态站点在&lt;strong&gt;速度、可维护性、托管成本&lt;/strong&gt;上都更划算。&lt;/p&gt;
&lt;p&gt;Hugo 的优势在于：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;构建极快，上千篇文章秒级出站&lt;/li&gt;
&lt;li&gt;内置 taxonomy，&lt;strong&gt;分类（categories）与标签（tags）开箱即用&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Markdown 即内容，写作体验顺滑&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="设计如何迁移"&gt;设计如何迁移&lt;/h2&gt;
&lt;p&gt;MUI 的 &lt;code&gt;sx&lt;/code&gt; 与主题系统无法直接搬运，但&lt;strong&gt;设计 token 可以&lt;/strong&gt;：主色 &lt;code&gt;#00A76F&lt;/code&gt;、
柔和卡片阴影、16px 圆角、Public Sans + Barlow 字体，全部转写成 Tailwind v4 的
&lt;code&gt;@theme&lt;/code&gt; 变量即可。&lt;/p&gt;</description></item></channel></rss>