SEO 配置用于搜索引擎优化,站点 favicon 使用 SVG 格式。

params.yaml
 1# Basic site info with SEO
 2description: "A modern, clean, and minimal Hugo theme built with Tailwind CSS 4.0. Support custom themes, dark mode, and responsive design."
 3keywords: ["Hugo", "Blog", "Theme", "Technology", "Programming"]
 4defaultAuthor: "Hugo Narrow"
 5language: "en-US"
 6shortName: "Hugo Narrow"  # PWA
 7images:
 8  - "/images/og-default.avif"
 9
10# Favicon
11favicon:
12  svg: "/favicon.svg"  # SVG format favicon (recommended)
点击展开查看更多

版权声明

作者: Hugo Narrow

链接: https://hugo-narrow-docs.vercel.app/zh-cn/docs/seo/

许可证: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license.

开始搜索

输入关键词搜索文章内容

↑↓
ESC
⌘K 快捷键