# Theme i18n support # Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw DefaultContentLanguage:zh-cn # 禁用多语言功能,防止生成 /zh-cn/ 这样的子目录 disableLanguages: ["en", "es"]
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko] # This will make .Summary and .WordCount behave correctly for CJK languages. hasCJKLanguage:false
services: # Change it to your Disqus shortname before using disqus: shortname:"hugo-theme-stack" # GA Tracking ID googleAnalytics: id:
pagination: pagerSize:3
permalinks: post:/p/:slug/ page:/:slug/
params: mainSections: -post featuredImageField:image rssFullContent:true favicon:# e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary)
### Custom menu ### See https://stack.jimmycai.com/config/menu ### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter # 找到原来的 menu 部分并替换成这样: menu: main: -identifier:home name:首页 url:/ weight:-100 params: icon:home