config website

This commit is contained in:
2025-05-26 20:24:18 +08:00
parent b1f0696d35
commit f22949f4e0

View File

@ -1,4 +1,56 @@
baseURL: https://example.org/ baseURL: https://example.org/
languageCode: en-us languageCode: zh-cn
title: My New Hugo Site title: 魔芋土豆
theme: ["PaperMod"] theme: ["PaperMod"]
languages:
zh:
languageName: "中文"
# title: 魔芋土豆
weight: 10
menu:
main:
- name: "主页"
url: "/"
weight: 1
- name: "文章"
url: "/posts/"
weight: 2
- name: "关于"
url: "/about/"
weight: 3
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "夜深人静适合思考"
author: 魔芋土豆
disableThemeToggle: false
defaultTheme: auto # 当disableThemeToggle为true时生效
ShowReadingTime: true
profileMode:
enabled: true
title: 深夜适合思考
imageUrl: "#"
imageTitle: icon
# imageWidth: 120
# imageHeight: 120
buttons:
- name: 文章
url: posts
- name: 关于
url: about
homeInfoParams: # 当profileMode.enabled为false时生效
Title: "PaperMod's Demo"
Content: >
👋 Welcome to demo page of Hugo's theme PaperMod!
- **PaperMod** is designed to be clean and simple but fast and responsive theme with useful feature-set that enhances UX.
- Feel free to show your support by giving us a star 🌟 on GitHub and sharing with your friends and social media .
- PaperMod is based on theme [Paper](https://github.com/nanxiaobei/hugo-paper/tree/4330c8b12aa48bfdecbcad6ad66145f679a430b3).
socialIcons:
pagination:
disableAliases: false
pagerSize: 5