diff --git a/hugo.yaml b/hugo.yaml index 7b73ac4..e527227 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,4 +1,56 @@ baseURL: https://example.org/ -languageCode: en-us -title: My New Hugo Site -theme: ["PaperMod"] \ No newline at end of file +languageCode: zh-cn +title: 魔芋土豆 +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 \ No newline at end of file