HUGO

  • 新闻
  • 文档
  • 主题
  • 社区
  • GitHub
  • 关于 Hugo
    • In this section
    • Introduction
    • Features
    • Privacy
    • Security
    • License
  • 安装
    • In this section
    • macOS
    • Linux
    • Windows
    • BSD
  • 入门
    • In this section
    • Quick start
    • Basic usage
    • Directory structure
    • Configuration
    • Configure markup
    • Glossary of terms
    • External learning resources
  • Quick reference
    • In this section
    • Emojis
    • Functions
    • Methods
    • Page collections
  • 内容管理
    • In this section
    • Organization
    • Page bundles
    • Content formats
    • Front matter
    • Build options
    • Page resources
    • Image processing
    • Shortcodes
    • Related content
    • Sections
    • Content types
    • Archetypes
    • Taxonomies
    • Summaries
    • Links and cross references
    • URL management
    • Menus
    • Comments
    • Multilingual
    • Markdown attributes
    • Syntax highlighting
    • Diagrams
    • Mathematics
    • Data sources
    • Content adapters
  • 模板
    • In this section
    • Introduction
    • Template types
    • Lookup order
    • Base templates
    • Home templates
    • Single templates
    • Section templates
    • Taxonomy templates
    • Term templates
    • Partial templates
    • Content view templates
    • Shortcode templates
    • Sitemap templates
    • RSS templates
    • 404 templates
    • robots.txt templates
    • Menus
    • Pagination
    • Embedded templates
    • Custom output formats
  • 函数
    • In this section
    • cast
    • collections
    • compare
    • crypto
    • css
    • data
    • debug
    • diagrams
    • encoding
    • fmt
    • global
    • go template
    • hash
    • hugo
    • images
    • inflect
    • js
    • lang
    • math
    • openapi3
    • os
    • partials
    • path
    • reflect
    • resources
    • safe
    • strings
    • templates
    • time
    • transform
    • urls
  • 方法
    • In this section
    • Duration
    • Menu
    • Menu entry
    • Page
    • Pager
    • Pages
    • Resource
    • Shortcode
    • Site
    • Taxonomy
    • Time
  • Render hooks
    • In this section
    • Introduction
    • Blockquotes
    • Code blocks
    • Headings
    • Images
    • Links
    • Passthrough
    • Tables
  • Hugo Modules
    • In this section
    • Configure Hugo modules
    • Use Hugo Modules
    • Theme components
  • Hugo Pipes
    • In this section
    • Introduction
    • Transpile Sass to CSS
    • PostCSS
    • PostProcess
    • JavaScript building
    • Babel
    • Asset minification
    • Concatenating assets
    • Fingerprinting and SRI hashing
    • Resource from string
    • Resource from template
  • CLI
  • 故障排除
    • In this section
    • Audit
    • Logging
    • Inspection
    • Deprecation
    • Performance
    • FAQs
  • 开发工具
    • In this section
    • Editor plugins
    • Front-ends
    • Search
    • Migrations
    • Other projects
  • 托管 & 部署
    • In this section
    • Hugo Deploy
    • Deploy with Rclone
    • Deploy with Rsync
    • Host on 21YunBox
    • Host on AWS Amplify
    • Host on Azure Static Web Apps
    • Host on Cloudflare Pages
    • Host on Firebase
    • Host on GitHub Pages
    • Host on GitLab Pages
    • Host on KeyCDN
    • Host on Netlify
    • Host on Render
  • 贡献
    • In this section
    • Development
    • Documentation
    • Themes
  • Maintenance

Categories

about ↗

Introduction

Features

Privacy

Security model

License

asset management ↗

Hugo Pipes

ToCSS

PostCSS

PostProcess

js.Build

Babel

Minify

Concat

Fingerprint

FromString

ExecuteAsTemplate

commands ↗

hugo

hugo completion

hugo completion bash

hugo completion fish

hugo completion powershell

hugo completion zsh

hugo config

hugo config mounts

hugo convert

hugo convert toJSON

hugo convert toTOML

hugo convert toYAML

hugo deploy

hugo env

hugo gen

hugo gen chromastyles

hugo gen doc

hugo gen man

hugo import

hugo import jekyll

hugo list

hugo list all

hugo list drafts

hugo list expired

hugo list future

hugo list published

hugo mod

hugo mod clean

hugo mod get

hugo mod graph

hugo mod init

hugo mod npm

hugo mod npm pack

hugo mod tidy

hugo mod vendor

hugo mod verify

hugo new

hugo new content

hugo new site

hugo new theme

hugo server

hugo server trust

hugo version

content management ↗

Content organization

Page bundles

Content formats

Front matter

Build options

Page resources

Image processing

Shortcodes

Related content

Sections

Content types

Archetypes

Taxonomies

Content summaries

Links and cross references

URL management

Menus

Comments

Multilingual mode

Markdown attributes

Syntax highlighting

Diagrams

Mathematics in Markdown

Data sources

Content adapters

contribute ↗

Development

Documentation

Themes

developer tools ↗

Editor plugins

Front-end interfaces

Search tools

Migrate to Hugo

Other community projects

fundamentals ↗

Introduction to templating

Content organization

Directory structure

Configure Hugo

Template lookup order

Base templates

Configure markup

Build options

Image processing

Custom output formats

getting started ↗

Quick start

Basic usage

Directory structure

Configure Hugo

Configure markup

Glossary of terms

External learning resources

hosting and deployment ↗

Hugo Deploy

Deploy with Rclone

Deploy with Rsync

Host on 21YunBox

Host on AWS Amplify

Host on Azure Static Web Apps

Host on Cloudflare Pages

Host on Firebase

Host on GitHub Pages

Host on GitLab Pages

Host on KeyCDN

Host on Netlify

Host on Render

hugo modules ↗

Configure Hugo modules

Use Hugo Modules

Theme components

installation ↗

macOS

Linux

Windows

BSD

quick reference ↗

Emojis

Functions

Methods

Page collections

render hooks ↗

Introduction

Blockquote render hooks

Code block render hooks

Heading render hooks

Image render hooks

Link render hooks

Passthrough render hooks

Table render hooks

templates ↗

Introduction to templating

Template types

Template lookup order

Base templates

Home templates

Single templates

Section templates

Taxonomy templates

Term templates

Partial templates

Content view templates

Create your own shortcodes

Sitemap templates

RSS templates

Custom 404 page

robots.txt template

Menus

Pagination

Embedded templates

Custom output formats

troubleshooting ↗

Site audit

Logging

Data inspection

Deprecation

Performance

Frequently asked questions

By the Hugo Authors
Hugo Logo
  • File an Issue
  • Get Help
  • @GoHugoIO
  • @spf13
  • @bepsays
 

The Hugo logos are copyright © Steve Francia 2013–2024.

The Hugo Gopher is based on an original work by Renée French.

  • 新闻
  • 文档
  • 主题
  • 社区
  • GitHub
  • 关于 Hugo
  • 安装
  • 入门
  • Quick reference
  • 内容管理
  • 模板
  • 函数
  • 方法
  • Render hooks
  • Hugo Modules
  • Hugo Pipes
  • CLI
  • 故障排除
  • 开发工具
  • 托管 & 部署
  • 贡献
  • Maintenance