<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Home on HCD</title><link>https://hugo-community-docs.github.io/</link><description>Recent content in Home on HCD</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 15 Aug 2026 04:09:57 +0800</lastBuildDate><atom:link href="https://hugo-community-docs.github.io/index.xml" rel="self" type="application/rss+xml"/><item><title>Understanding Hugo</title><link>https://hugo-community-docs.github.io/docs/guide/introduction/</link><pubDate>Sat, 15 Aug 2026 04:09:57 +0800</pubDate><guid>https://hugo-community-docs.github.io/docs/guide/introduction/</guid><description>&lt;p&gt;&lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; is a static site generator (SSG) written in Go. Because it builds static sites, you don't need to worry about server overhead or maintenance. Hugo has many strengths. Speed is just one of them. Flexible configuration, scalability, extensibility, and out-of-the-box readiness are among its other advantages.&lt;/p&gt;</description></item><item><title>Installing Hugo and Its Toolchain</title><link>https://hugo-community-docs.github.io/docs/guide/installation/</link><pubDate>Sat, 15 Aug 2026 04:09:57 +0800</pubDate><guid>https://hugo-community-docs.github.io/docs/guide/installation/</guid><description>&lt;p&gt;This page explains how to install Hugo on each operating system and set up the environment variable (PATH) it needs to run.&lt;/p&gt;
&lt;h2 id="hugo-editions"&gt;
	Hugo Editions
	&lt;a class="heading-anchor" href="#hugo-editions" aria-label="Permalink to 'Hugo Editions'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Hugo ships in three editions.&lt;/p&gt;</description></item><item><title>Introduction</title><link>https://hugo-community-docs.github.io/reference/introduction/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/reference/introduction/</guid><description>&lt;p&gt;This section is a reference, listing every Hugo built-in tool.&lt;/p&gt;</description></item><item><title>Introduction</title><link>https://hugo-community-docs.github.io/tutorial/introduction/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/tutorial/introduction/</guid><description>&lt;p&gt;This article assumes you already have a basic understanding of programming languages, so it won't introduce programming concepts from scratch. Instead, it builds on that foundation to introduce Hugo's syntax.&lt;/p&gt;</description></item><item><title>Project Structure and UFS</title><link>https://hugo-community-docs.github.io/docs/concept/project-structure/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/project-structure/</guid><description>&lt;h2 id="project-structure"&gt;
	Project Structure
	&lt;a class="heading-anchor" href="#project-structure" aria-label="Permalink to 'Project Structure'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;A standard Hugo project has 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;my-project/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── archetypes/ # Default templates for new content
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── assets/ # Can be processed via Hugo Pipes (CSS, JS, images)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── static/ # Can&amp;#39;t be processed, copied to output as is
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── config/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── _default/ # Default config
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ │ └── hugo.yaml # Site configuration, can also live in the project root
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ └── production/ # Environment-specific overrides
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── content/ # Markdown content 
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── data/ # Custom data files (JSON/YAML/yaml) for templates
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── i18n/ # Translations
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── layouts/ # Template files, the site&amp;#39;s HTML structure
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── public/ # Build output directory
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── resources/ # Resource processing cache
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;└── themes/ # Theme (if installed via git submodule)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;resources&lt;/code&gt; and &lt;code&gt;public&lt;/code&gt; are regenerated on every build. You should add both directories to &lt;code&gt;.gitignore&lt;/code&gt;, since there's no benefit to tracking generated files in Git.&lt;/p&gt;</description></item><item><title>Basic Syntax</title><link>https://hugo-community-docs.github.io/tutorial/basic-syntax/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/tutorial/basic-syntax/</guid><description>&lt;h2 id="arithmetic-and-comparison"&gt;
	Arithmetic and Comparison
	&lt;a class="heading-anchor" href="#arithmetic-and-comparison" aria-label="Permalink to 'Arithmetic and Comparison'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Hugo doesn't support symbols like &lt;code&gt;+&lt;/code&gt; or &lt;code&gt;&amp;lt;&lt;/code&gt;. You need to use function calls for these operations.&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-go-html-template" data-lang="go-html-template"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;add&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;sub&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;mul&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;div&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;4&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;eq&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ne&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;lt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;le&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;gt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ge&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&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;2
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;4
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;2
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;true
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;true
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;true
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;true
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;true
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h2 id="if--else-if--else"&gt;
	if / else if / else
	&lt;a class="heading-anchor" href="#if--else-if--else" aria-label="Permalink to 'if / else if / else'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;The basic if-else syntax. &lt;code&gt;false&lt;/code&gt;, an empty string, &lt;code&gt;0&lt;/code&gt;, &lt;code&gt;nil&lt;/code&gt;, an empty slice, and an empty dict are all falsy values.&lt;/p&gt;</description></item><item><title>Content Management</title><link>https://hugo-community-docs.github.io/docs/concept/content-management/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/content-management/</guid><description>&lt;p&gt;This article covers everything related to the content directory.&lt;/p&gt;</description></item><item><title>Creating a Site</title><link>https://hugo-community-docs.github.io/docs/guide/quick-start/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/guide/quick-start/</guid><description>&lt;p&gt;This page explains how to create a new site with Hugo and start the local development server.&lt;/p&gt;
&lt;h2 id="create-a-project"&gt;
	Create a Project
	&lt;a class="heading-anchor" href="#create-a-project" aria-label="Permalink to 'Create a Project'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo new project my-site --format yaml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; my-site&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;hugo new project&lt;/code&gt; creates the basic directory structure. At this point, the site has no theme or content yet.&lt;/p&gt;</description></item><item><title>Content Authoring</title><link>https://hugo-community-docs.github.io/docs/guide/content-authoring/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/guide/content-authoring/</guid><description>&lt;p&gt;This page covers the Markdown, front matter, and shortcode syntax you'll use when writing content.&lt;/p&gt;
&lt;h2 id="content-structure"&gt;
	Content Structure
	&lt;a class="heading-anchor" href="#content-structure" aria-label="Permalink to 'Content Structure'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;A content directory looks like this:&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-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;content
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── _index.md &lt;span class="c1"&gt;# 1. Home page&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── docs
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── _index.md &lt;span class="c1"&gt;# 2. List page&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── p1.md &lt;span class="c1"&gt;# 3-1. Post page: filename only&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── p2 &lt;span class="c1"&gt;# 3-2. Post page: using index.md&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ │ ├── foo.jpg
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ │ └── index.md
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ └── bar &lt;span class="c1"&gt;# Nested list&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── _index.md &lt;span class="c1"&gt;# List page for the nested section&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── post-1.md
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ └── post-2.md
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;└── tags
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ├── _index.md &lt;span class="c1"&gt;# 4. List page for tags&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; └── my-tag.md &lt;span class="c1"&gt;# Tag page&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;The home page is the &lt;code&gt;_index.md&lt;/code&gt; at the top level&lt;/li&gt;
&lt;li&gt;Every other &lt;code&gt;_index.md&lt;/code&gt; with a leading underscore is a list page&lt;/li&gt;
&lt;li&gt;A post page can use either a &lt;code&gt;filename.md&lt;/code&gt; or a &lt;code&gt;filename/index.md&lt;/code&gt;, &lt;strong&gt;cannot have child pages&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;A tag's &lt;code&gt;_index.md&lt;/code&gt; is likewise a list page&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Both &lt;code&gt;p1.md&lt;/code&gt; and &lt;code&gt;p2/index.md&lt;/code&gt; can create a standalone post, but only the latter can hold its own page resources, such as images or videos. You should default to the &lt;code&gt;post-name/index.md&lt;/code&gt; form to keep your project structure consistent, except in two cases:&lt;/p&gt;</description></item><item><title>Resource Processing</title><link>https://hugo-community-docs.github.io/tutorial/resources/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/tutorial/resources/</guid><description>&lt;p&gt;&lt;code&gt;resource.Resource&lt;/code&gt; objects handle Hugo's resource processing.&lt;/p&gt;
&lt;h2 id="creation"&gt;
	Creation
	&lt;a class="heading-anchor" href="#creation" aria-label="Permalink to 'Creation'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;You can create &lt;code&gt;resource.Resource&lt;/code&gt; objects in several ways. As global functions, you have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/functions/resources/get/"&gt;resources.Get&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/functions/resources/getmatch/"&gt;resources.GetMatch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/functions/resources/match/"&gt;resources.Match&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/functions/resources/bytype/"&gt;resources.ByType&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These four methods are used to retrieve resources from the &lt;code&gt;assets&lt;/code&gt; directory. To retrieve resources from the current page, use &lt;code&gt;.Resources.Get&lt;/code&gt;, &lt;code&gt;.Resources.GetMatch&lt;/code&gt;, and so on instead.&lt;/p&gt;</description></item><item><title>Development Setup</title><link>https://hugo-community-docs.github.io/tutorial/development-setup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/tutorial/development-setup/</guid><description>&lt;p&gt;This article covers development-related setup for working with Hugo.&lt;/p&gt;
&lt;h2 id="editor-setup"&gt;
	Editor Setup
	&lt;a class="heading-anchor" href="#editor-setup" aria-label="Permalink to 'Editor Setup'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;VS Code syntax highlighting and autocomplete: &lt;a href="https://github.com/theNewDynamic/language-hugo-vscode"&gt;theNewDynamic/language-hugo-vscode&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;JetBrains syntax highlighting and autocomplete: &lt;a href="https://www.smarthugo.dev/"&gt;Smart Hugo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="formatter-setup"&gt;
	Formatter Setup
	&lt;a class="heading-anchor" href="#formatter-setup" aria-label="Permalink to 'Formatter Setup'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;h3 id="html"&gt;
	HTML
	&lt;a class="heading-anchor" href="#html" aria-label="Permalink to 'HTML'"&gt;&lt;/a&gt;
&lt;/h3&gt;&lt;p&gt;You can use a Prettier plugin to format HTML + Go template files.&lt;/p&gt;</description></item><item><title>Multilingual Sites</title><link>https://hugo-community-docs.github.io/docs/concept/multilingual/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/multilingual/</guid><description>&lt;p&gt;In Hugo, each language is an independent site In a multilingual website, each language is a site on the &lt;code&gt;language&lt;/code&gt; dimension. This page explains how to configure it.&lt;/p&gt;
&lt;h2 id="configuration"&gt;
	Configuration
	&lt;a class="heading-anchor" href="#configuration" aria-label="Permalink to 'Configuration'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Declare the languages your site uses in &lt;code&gt;hugo.yaml&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Basic Configuration</title><link>https://hugo-community-docs.github.io/docs/guide/basic-configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/guide/basic-configuration/</guid><description>&lt;p&gt;Hugo's configuration file has hundreds of possible settings, which is bound to overwhelm beginners. This page's purpose is to highlight the settings in &lt;code&gt;hugo.yaml&lt;/code&gt; that matter most, so you don't get lost in the sheer volume of options.&lt;/p&gt;</description></item><item><title>Sites Matrix</title><link>https://hugo-community-docs.github.io/docs/concept/sites-matrix/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/sites-matrix/</guid><description>&lt;p&gt;Each language is its own independent site in Hugo. &lt;a href="https://github.com/gohugoio/hugo/releases/tag/v0.153.0"&gt;Hugo v0.153.0&lt;/a&gt; went further and introduced the sites matrix concept, raising the old single dimension model of "one language equals one site" into a combination of three dimensions. This page explains the concept and how to use it to control the scope of content generation.&lt;/p&gt;</description></item><item><title>Hugo Modules</title><link>https://hugo-community-docs.github.io/docs/concept/hugo-modules/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/hugo-modules/</guid><description>&lt;p&gt;This page covers Hugo Modules and the corresponding &lt;code&gt;hugo mod&lt;/code&gt; command in detail.&lt;/p&gt;
&lt;h2 id="what-is-a-module"&gt;
	What Is a Module
	&lt;a class="heading-anchor" href="#what-is-a-module" aria-label="Permalink to 'What Is a Module'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;A module is Hugo's basic unit for organizing content. A module can be a full Hugo project, or it can be a small reusable package that provides just one type of component (content, layouts, assets, data, i18n, static, archetypes). A theme you install is, at its core, a module.&lt;/p&gt;</description></item><item><title>Template System</title><link>https://hugo-community-docs.github.io/docs/concept/templates/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/templates/</guid><description>&lt;p&gt;This article introduces Hugo's template lookup mechanism, which determines which template applies to each page. Three core concepts drive this mechanism: page kind, page type, and the layout manually specified in front matter. Once you understand these core concepts, we'll walk through the full template classification, then explain the complete lookup order. Two examples at the end will tie everything together.&lt;/p&gt;</description></item><item><title>URLs and Routing</title><link>https://hugo-community-docs.github.io/docs/guide/routing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/guide/routing/</guid><description>&lt;p&gt;This page explains how Hugo determines the URL for each page. Get URL management right from the start. Broken links damage a site more than almost anything else, so plan your approach early.&lt;/p&gt;</description></item><item><title>Data</title><link>https://hugo-community-docs.github.io/docs/concept/data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/data/</guid><description>&lt;p&gt;The Data directory stores only three file types: yaml, YAML, and JSON. What makes this directory distinctive is that once Hugo starts, its contents get loaded into Hugo's memory and stay there until the build finishes, without ever being cleared in between. Large structural files that aren't shared across multiple pages should go in the &lt;code&gt;assets&lt;/code&gt; directory instead, since Hugo garbage-collects the memory &lt;code&gt;assets&lt;/code&gt; files occupy once processing completes.&lt;/p&gt;</description></item><item><title>Deploying Your Site</title><link>https://hugo-community-docs.github.io/docs/guide/deploying-your-site/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/guide/deploying-your-site/</guid><description>&lt;p&gt;To deploy your site to the public internet, Hugo's official documentation provides an extensive walkthrough. See the &lt;a href="https://gohugo.io/host-and-deploy/"&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you're a beginner without a clear idea of where to start, hugo-community-docs recommend the &lt;a href="https://gohugo.io/host-and-deploy/host-on-github-pages/"&gt;GitHub Pages&lt;/a&gt; option, since it lets you complete everything on a single platform.&lt;/p&gt;</description></item><item><title>Configuration Index</title><link>https://hugo-community-docs.github.io/reference/config/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/reference/config/</guid><description>&lt;p&gt;See the official Hugo documentation's &lt;a href="https://gohugo.io/configuration/all/"&gt;configuration index page&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Content Adapter</title><link>https://hugo-community-docs.github.io/docs/concept/content-adapter/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/content-adapter/</guid><description>&lt;p&gt;Content adapters are used to build dynamic pages, most commonly for generating API documentation. A pre-build script creates a structured JSON file, and the content adapter reads that &lt;code&gt;data&lt;/code&gt; file to automatically generate pages. For usage details, see the &lt;a href="https://gohugo.io/content-management/content-adapters/"&gt;official documentation&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>API Index</title><link>https://hugo-community-docs.github.io/reference/api/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/reference/api/</guid><description>&lt;p&gt;You can think of Hugo development as its own language. It wraps Go's functionality for use in templates, and parses templates and reflects variables on its own, so it has effectively become a language in its own right. Only a limited subset of Go's functionality is exposed, so even if you're already familiar with Go and Go templates, you'll still need to check the documentation to use Hugo correctly.&lt;/p&gt;</description></item><item><title>Build a Theme</title><link>https://hugo-community-docs.github.io/tutorial/build-a-theme/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/tutorial/build-a-theme/</guid><description>&lt;p&gt;This article walks you through building a theme from scratch. Learning by doing gets you there faster.&lt;/p&gt;
&lt;h2 id="create-the-project"&gt;
	Create the Project
	&lt;a class="heading-anchor" href="#create-the-project" aria-label="Permalink to 'Create the Project'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hugo new project my-blog --format&lt;span class="o"&gt;=&lt;/span&gt;yaml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; my-blog&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h2 id="stylesheet"&gt;
	Stylesheet
	&lt;a class="heading-anchor" href="#stylesheet" aria-label="Permalink to 'Stylesheet'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Get the styles ready first. CSS has nothing to do with templates, so copy a simple template into &lt;code&gt;assets/css/main.css&lt;/code&gt; for now.&lt;/p&gt;</description></item><item><title>Output Formats</title><link>https://hugo-community-docs.github.io/docs/concept/output-formats/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/concept/output-formats/</guid><description>&lt;p&gt;Hugo supports having a single page produce multiple output formats. This is configured through &lt;a href="https://gohugo.io/configuration/output-formats/"&gt;output formats&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Output formats commonly serve three purposes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generating a site-wide JSON index for search.&lt;/li&gt;
&lt;li&gt;Using build order to preprocess data before rendering.&lt;/li&gt;
&lt;li&gt;Outputting Markdown (for example, llms.txt) for AI tools or other consumers to read.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="basic-configuration"&gt;
	Basic Configuration
	&lt;a class="heading-anchor" href="#basic-configuration" aria-label="Permalink to 'Basic Configuration'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Define the format you want to output in &lt;code&gt;hugo.yaml&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>CLI Index</title><link>https://hugo-community-docs.github.io/reference/cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/reference/cli/</guid><description>&lt;p&gt;The index below is compiled from the &lt;a href="https://gohugo.io"&gt;official Hugo documentation&lt;/a&gt;. This site doesn't duplicate that content. Follow the links back to the official pages to look things up.&lt;/p&gt;
&lt;h2 id="hugo-build"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_build/"&gt;hugo build&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-build" aria-label="Permalink to 'hugo build'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;h2 id="hugo-completion"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_completion/"&gt;hugo completion&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-completion" aria-label="Permalink to 'hugo completion'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_completion_bash/"&gt;hugo completion bash&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_completion_fish/"&gt;hugo completion fish&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_completion_powershell/"&gt;hugo completion powershell&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_completion_zsh/"&gt;hugo completion zsh&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-config"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_config/"&gt;hugo config&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-config" aria-label="Permalink to 'hugo config'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_config_mounts/"&gt;hugo config mounts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-convert"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_convert/"&gt;hugo convert&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-convert" aria-label="Permalink to 'hugo convert'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_convert_toJSON/"&gt;hugo convert toJSON&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_convert_toyaml/"&gt;hugo convert toyaml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_convert_toYAML/"&gt;hugo convert toYAML&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-deploy"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_deploy/"&gt;hugo deploy&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-deploy" aria-label="Permalink to 'hugo deploy'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;h2 id="hugo-env"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_env/"&gt;hugo env&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-env" aria-label="Permalink to 'hugo env'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;h2 id="hugo-gen"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_gen/"&gt;hugo gen&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-gen" aria-label="Permalink to 'hugo gen'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_gen_chromastyles/"&gt;hugo gen chromastyles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_gen_doc/"&gt;hugo gen doc&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_gen_man/"&gt;hugo gen man&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-import"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_import/"&gt;hugo import&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-import" aria-label="Permalink to 'hugo import'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_import_jekyll/"&gt;hugo import jekyll&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-list"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_list/"&gt;hugo list&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-list" aria-label="Permalink to 'hugo list'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_list_all/"&gt;hugo list all&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_list_drafts/"&gt;hugo list drafts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_list_expired/"&gt;hugo list expired&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_list_future/"&gt;hugo list future&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_list_published/"&gt;hugo list published&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-mod"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_mod/"&gt;hugo mod&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-mod" aria-label="Permalink to 'hugo mod'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_clean/"&gt;hugo mod clean&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_get/"&gt;hugo mod get&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_graph/"&gt;hugo mod graph&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_init/"&gt;hugo mod init&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_npm/"&gt;hugo mod npm&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_npm_pack/"&gt;hugo mod npm pack&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_tidy/"&gt;hugo mod tidy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_vendor/"&gt;hugo mod vendor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_mod_verify/"&gt;hugo mod verify&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-new"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_new/"&gt;hugo new&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-new" aria-label="Permalink to 'hugo new'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_new_content/"&gt;hugo new content&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_new_project/"&gt;hugo new project&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_new_theme/"&gt;hugo new theme&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-server"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_server/"&gt;hugo server&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-server" aria-label="Permalink to 'hugo server'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gohugo.io/commands/hugo_server_trust/"&gt;hugo server trust&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="hugo-version"&gt;
	&lt;a href="https://gohugo.io/commands/hugo_version/"&gt;hugo version&lt;/a&gt;
	&lt;a class="heading-anchor" href="#hugo-version" aria-label="Permalink to 'hugo version'"&gt;&lt;/a&gt;
&lt;/h2&gt;</description></item><item><title>FAQ</title><link>https://hugo-community-docs.github.io/docs/faq/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-community-docs.github.io/docs/faq/</guid><description>&lt;h2 id="link-checking"&gt;
	Link Checking
	&lt;a class="heading-anchor" href="#link-checking" aria-label="Permalink to 'Link Checking'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;You can integrate external tools to verify link correctness. For example, &lt;a href="https://github.com/rvben/rumdl"&gt;rumdl&lt;/a&gt;'s &lt;a href="https://rumdl.dev/md057/"&gt;MD057&lt;/a&gt; rule supports Markdown links and assets, along with absolute link detection and completion.&lt;/p&gt;</description></item></channel></rss>