diff --git a/config.yaml b/config.yaml index 3572caf..522799b 100644 --- a/config.yaml +++ b/config.yaml @@ -9,7 +9,223 @@ languages: languageName: 中文 title: Mitsea Blog weight: 1 - en: - languageName: English - title: Mitsea Blog - weight: 2 \ No newline at end of file + # en: + # languageName: English + # title: Mitsea Blog + # weight: 2 + +# Change it to your Disqus shortname before using +disqusShortname: hugo-theme-stack + +# GA Tracking ID +googleAnalytics: + +# 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 + +# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko] +# This will make .Summary and .WordCount behave correctly for CJK languages. +hasCJKLanguage: true + +permalinks: + post: /:slug/ + page: /page/:slug/ + +params: + mainSections: + - post + featuredImageField: image + rssFullContent: true + favicon: + + footer: + since: 2018 + customText: 皖ICP备19023860号 + + dateFormat: + published: Jan 02, 2006 + lastUpdated: Jan 02, 2006 15:04 MST + + sidebar: + emoji: 🍥 + subtitle: 人菜话多 + avatar: + enabled: true + local: true + src: img/avatar.jpeg + + article: + math: false + toc: true + readingTime: true + license: + enabled: true + default: Licensed under CC BY-NC-SA 4.0 + + comments: + enabled: false + provider: disqus + + disqusjs: + shortname: + apiUrl: + apiKey: + admin: + adminLabel: + + utterances: + repo: + issueTerm: pathname + label: + + remark42: + host: + site: + locale: + + vssue: + platform: + owner: + repo: + clientId: + clientSecret: + autoCreateIssue: false + + # Waline client configuration see: https://waline.js.org/en/reference/component.html + waline: + serverURL: + lang: + pageview: + emoji: + - https://unpkg.com/@waline/emojis@1.0.1/weibo + requiredMeta: + - name + - email + - url + locale: + admin: Admin + placeholder: + + twikoo: + envId: + region: + path: + lang: + + # See https://cactus.chat/docs/reference/web-client/#configuration for description of the various options + cactus: + defaultHomeserverUrl: "https://matrix.cactus.chat:8448" + serverName: "cactus.chat" + siteName: "" # You must insert a unique identifier here matching the one you registered (See https://cactus.chat/docs/getting-started/quick-start/#register-your-site) + + giscus: + repo: + repoID: + category: + categoryID: + mapping: + lightTheme: + darkTheme: + reactionsEnabled: 1 + emitMetadata: 0 + + gitalk: + owner: + admin: + repo: + clientID: + clientSecret: + + cusdis: + host: + id: + widgets: + homepage: + - type: search + - type: archives + params: + limit: 10 + - type: categories + params: + limit: 10 + - type: tag-cloud + params: + limit: 10 + page: + - type: toc + + opengraph: + twitter: + # Your Twitter username + site: + + # Available values: summary, summary_large_image + card: summary_large_image + + defaultImage: + opengraph: + enabled: false + local: false + src: + + colorScheme: + # Display toggle + toggle: true + + # Available values: auto, light, dark + default: auto + + imageProcessing: + cover: + enabled: false + content: + enabled: false + +### Custom menu +### See https://docs.stack.jimmycai.com/configuration/custom-menu.html +### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter +menu: + main: [] + + social: + - identifier: github + name: GitHub + url: https://github.com/flintylemming + params: + icon: brand-github + + # - identifier: twitter + # name: Twitter + # url: https://twitter.com + # params: + # icon: brand-twitter + +related: + includeNewer: true + threshold: 60 + toLower: false + indices: + - name: tags + weight: 100 + + - name: categories + weight: 200 + +markup: + goldmark: + renderer: + ## Set to true if you have HTML content inside Markdown + unsafe: false + tableOfContents: + endLevel: 4 + ordered: true + startLevel: 2 + highlight: + noClasses: false + codeFences: true + guessSyntax: true + lineNoStart: 1 + lineNos: true + lineNumbersInTable: true + tabWidth: 4 \ No newline at end of file diff --git a/content/post/07dbeb35868e46f5a3cc465742c029d8/index.zh-cn.md b/content/post/07dbeb35868e46f5a3cc465742c029d8/index.zh-cn.md index 3a8ef20..f31c4a2 100644 --- a/content/post/07dbeb35868e46f5a3cc465742c029d8/index.zh-cn.md +++ b/content/post/07dbeb35868e46f5a3cc465742c029d8/index.zh-cn.md @@ -195,6 +195,6 @@ linuxserver/qbittorrent #### 群晖内置的反代工具设置 -其实我更推荐这种方式,因为这样方便管理。不过你通过 https 访问的端口就必须和 WebUI 的端口不一样了,不然会冲突。具体设置方法,可以参考我[另一篇教程](https://blog.mitsea.com/post/4a08e5064d834921b206bf128e463d1a/)。 +其实我更推荐这种方式,因为这样方便管理。不过你通过 https 访问的端口就必须和 WebUI 的端口不一样了,不然会冲突。具体设置方法,可以参考我[另一篇教程](https://blog.mitsea.com/4a08e5064d834921b206bf128e463d1a/)。 ![](https://img.mitsea.com/blog/posts/2020/02/%E7%BE%A4%E6%99%96%20Docker%20%E5%AE%89%E8%A3%85%20qbittorrent%20%E5%90%AB%20https%20%E8%AE%BE%E7%BD%AE/Untitled%2027.png?x-oss-process=style/ImageCompress) \ No newline at end of file