<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>模板 - 标签 - lihuu — 系统工程、AI 工具链与 Rust 开发博客</title>
        <link>https://silentstormic.top/tags/%E6%A8%A1%E6%9D%BF/</link>
        <description>模板 - 标签 - lihuu — 系统工程、AI 工具链与 Rust 开发博客</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Tue, 10 Jun 2025 11:36:44 &#43;0800</lastBuildDate><atom:link href="https://silentstormic.top/tags/%E6%A8%A1%E6%9D%BF/" rel="self" type="application/rss+xml" /><item>
    <title>Hugo 模板系统概述</title>
    <link>https://silentstormic.top/post/hugo-plain-html/</link>
    <pubDate>Tue, 10 Jun 2025 11:36:44 &#43;0800</pubDate>
    <author>lihuu</author>
    <guid>https://silentstormic.top/post/hugo-plain-html/</guid>
    <description><![CDATA[<p>Hugo 是一个以速度著称的静态网站生成器，其强大的<strong>主题（Theme）**系统是其核心魅力之一。一个好的主题不仅能让网站拥有美观的界面，更能通过其合理的**文件结构</strong>和<strong>查找机制</strong>，为开发者提供极大的灵活性和可维护性。本文将深入探讨 Hugo 主题的内部结构，并揭示其文件查找的奥秘。</p>
<h3 id="hugo-主题的骨架约定优于配置">Hugo 主题的“骨架”：约定优于配置</h3>
<p>Hugo 主题的核心在于其遵循**约定优于配置（Convention over Configuration）**的原则。这意味着，虽然你不需要在配置文件中显式声明每个文件的用途，但将文件放置在特定的目录并赋予它们特定的名称，Hugo 就能自动识别并加载它们。这种机制大大简化了开发流程，同时保证了主题的规范性和可扩展性。</p>]]></description>
</item>
</channel>
</rss>
