網站開發中
了解
關閉
日誌
☕️
新聞文摘
技巧心得
DevOps 維運
SEO 行銷
文件
📖
關於 Hugo
安裝
入門
快速參考
內容管理
版型
函式
方法
渲染掛載
Hugo 模組
Hugo 管線
指令
故障排除
開發者工具
託管與部署
貢獻
維護
教學
🎯
Frontmatter 文件詮釋
Markdown 內容編輯
從零開始打造
佈景主題設計
AJAX 網頁互動
API 微服務整合
無障礙網頁設計
資源
🥑
GitHub
佈景主題
社群
免費資源
日誌
☕️
新聞文摘
技巧心得
DevOps 維運
SEO 行銷
文件
📖
關於 Hugo
安裝
入門
快速參考
內容管理
版型
函式
方法
渲染掛載
Hugo 模組
Hugo 管線
指令
故障排除
開發者工具
託管與部署
貢獻
維護
教學
🎯
Frontmatter 文件詮釋
Markdown 內容編輯
從零開始打造
佈景主題設計
AJAX 網頁互動
API 微服務整合
無障礙網頁設計
資源
🥑
GitHub
佈景主題
社群
免費資源
Profile
New
Settings
Logout
篩選條件
技術文件
部落格
教學文件
Content management
一個靜態網站生成器需要超越僅僅是前置內容與少量範本的能力,才能同時具備
擴展性
與
可管理性
。Hugo 的設計不僅考量了開發者,也特別顧及了內容管理者與作者的需求。
Content organization
Hugo 假設用於組織來源內容的結構與生成網站的結構相同。
閱讀更多 »
Page bundles
使用頁面包將一個或多個資源邏輯地與內容關聯。
閱讀更多 »
Content formats
使用 Markdown、HTML、Emacs Org Mode、AsciiDoc、Pandoc 或 reStructuredText 來創建您的內容。
閱讀更多 »
Front matter
使用 Front Matter 為您的內容添加元數據。
閱讀更多 »
Build options
建置選項幫助定義 Hugo 在建置網站時應如何處理特定頁面。
閱讀更多 »
Page resources
使用頁面資源來邏輯地將資產與頁面相關聯。
閱讀更多 »
Image processing
調整大小、裁切、旋轉、套用濾鏡與格式轉換圖像。
閱讀更多 »
Shortcodes
短代碼是簡單的片段,位於內容檔案中,呼叫內建或自訂模板。
閱讀更多 »
Related content
在「另請參見」區塊列出相關內容。
閱讀更多 »
Sections
將內容組織為分類。
閱讀更多 »
1
2
3
»
Maintenance
content-management
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
contribute
本節內容
開發
文檔貢獻指南
developer-tools
In this section
Editor plugins
Front-ends
Search
Migrations
Other projects
functions
collections
compare
crypto
css
debug
diagrams
encoding
fmt
global
go 範本
hash
hugo
images
inflect
js
lang
math
openapi3
os
partials
path
reflect
resources
safe
templates
time
transform
urls
字串
資料
轉換
getting-started
此部分內容
快速入門
基本使用
資料夾結構
配置
配置標記語言
術語表
設定構建
外部學習資源
hosting-and-deployment
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
hugo-pipes
In this section
介紹
將 Sass 轉譯為 CSS
PostCSS
PostProcess
JavaScript 建構
Babel
資源最小化
合併資源
指紋辨識與 SRI 雜湊
從字串創建資源
從模板創建資源
installation
本節內容
macOS
Linux
Windows
BSD
methods
In this section
Duration
Menu
Menu entry
Page
Pager
Pages
Resource
Shortcode
Site
Taxonomy
Time
modules
In this section
Configure Hugo modules
Use Hugo Modules
Theme components
quick-reference
In this section
Emojis
Functions
Methods
Page collections
render-hooks
In this section
Introduction
Blockquotes
程式碼區塊
標題
Images
Links
Passthrough
Tables
templates
In this section
Introduction
模板類型
Lookup order
Base templates
Home templates
Single Template
Section templates
Taxonomy templates
Term templates
部分模板
Content view templates
Shortcode templates
Sitemap templates
RSS templates
404 範本
robots.txt template
Menus
分頁
Embedded templates
自訂輸出格式
troubleshooting
本節內容
Audit
記錄 Logging
檢查 Inspection
廢棄功能 Deprecation
性能 Performance
常見問題 FAQs
函數
本區內容
貢獻
主題
關於
本節內容
簡介
功能
隱私權
安全
授權條款
首頁
選單
子選單 1
子選單 2
關於我們
聯絡我們