<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>assets on Yore</title><link>https://yore.zsl0621.cc/zh-cn/tags/assets/</link><description>Recent content in assets on Yore</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 30 Jan 2026 03:54:00 +0800</lastBuildDate><atom:link href="https://yore.zsl0621.cc/zh-cn/tags/assets/index.xml" rel="self" type="application/rss+xml"/><item><title>Directory Structure and Assets</title><link>https://yore.zsl0621.cc/zh-cn/%E6%96%87%E6%A1%A3/directory-structure/</link><pubDate>Fri, 30 Jan 2026 03:54:00 +0800</pubDate><guid>https://yore.zsl0621.cc/zh-cn/%E6%96%87%E6%A1%A3/directory-structure/</guid><description>&lt;p&gt;Understanding Hugo's directory structure is essential for managing content and assets effectively.&lt;/p&gt;
&lt;h2 id="directory-structure"&gt;
	Directory Structure
	&lt;a class="heading-anchor" href="#directory-structure" aria-label="Permalink to 'Directory Structure'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;A typical Hugo project follows this structure:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── archetypes/ # Templates for new Markdown files
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── assets/ # Processed assets (images, CSS, JS)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── content/ # Markdown files and page bundles
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── data/ # Custom configuration data
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── i18n/ # Translation files
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── layouts/ # Custom layout files
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── static/ # Raw static files (favicons, robots.txt)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── themes/ # Theme files
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;└── hugo.yaml # Site configuration&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This guide focuses on three key directories: &lt;code&gt;assets/&lt;/code&gt;, &lt;code&gt;static/&lt;/code&gt;, and &lt;code&gt;content/&lt;/code&gt;, as these are the ones you'll work with most frequently.&lt;/p&gt;</description></item></channel></rss>