<?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>Taxonomy on Kerolt's Note</title><link>https://kerolt.github.io/tags/taxonomy/</link><description>Recent content in Taxonomy on Kerolt's Note</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 09 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://kerolt.github.io/tags/taxonomy/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo content 目录的页面类型与组织方式</title><link>https://kerolt.github.io/p/hugo-content-%E7%9B%AE%E5%BD%95%E7%9A%84%E9%A1%B5%E9%9D%A2%E7%B1%BB%E5%9E%8B%E4%B8%8E%E7%BB%84%E7%BB%87%E6%96%B9%E5%BC%8F/</link><pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate><guid>https://kerolt.github.io/p/hugo-content-%E7%9B%AE%E5%BD%95%E7%9A%84%E9%A1%B5%E9%9D%A2%E7%B1%BB%E5%9E%8B%E4%B8%8E%E7%BB%84%E7%BB%87%E6%96%B9%E5%BC%8F/</guid><description>&lt;h2 id="核心结论"&gt;核心结论&lt;/h2&gt;
&lt;p&gt;Hugo 的 &lt;code&gt;content&lt;/code&gt; 目录不是简单的 Markdown 文件仓库，而是一棵 Page Tree。目录层级和特殊文件名会决定页面的 &lt;code&gt;Kind&lt;/code&gt;、&lt;code&gt;Section&lt;/code&gt;、&lt;code&gt;Type&lt;/code&gt;、Bundle 类型、模板选择、资源归属以及默认 URL。&lt;/p&gt;</description></item><item><title>Hugo Theme Stack 对默认 Taxonomy 的处理</title><link>https://kerolt.github.io/p/hugo-theme-stack-%E5%AF%B9%E9%BB%98%E8%AE%A4-taxonomy-%E7%9A%84%E5%A4%84%E7%90%86/</link><pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate><guid>https://kerolt.github.io/p/hugo-theme-stack-%E5%AF%B9%E9%BB%98%E8%AE%A4-taxonomy-%E7%9A%84%E5%A4%84%E7%90%86/</guid><description>&lt;h2 id="核心结论"&gt;核心结论&lt;/h2&gt;
&lt;p&gt;Stack 没有重新实现 Taxonomy 系统。Hugo 负责读取文章 Front Matter、建立 Taxonomy 与 Term 的关联、生成页面对象和 URL；Stack 负责调用 Hugo 提供的 &lt;code&gt;.Site.Taxonomies&lt;/code&gt;、&lt;code&gt;.GetTerms&lt;/code&gt; 和 &lt;code&gt;.Pages&lt;/code&gt;，将这些数据展示为分类徽章、文章标签、侧栏 Widget、归档入口以及列表页面。&lt;/p&gt;</description></item></channel></rss>