exampleSite: reformat config

This commit is contained in:
Reorx 2022-06-01 16:29:54 +08:00
parent 375281fd60
commit 744a17a575
1 changed files with 167 additions and 171 deletions

View File

@ -14,205 +14,201 @@ enableEmoji: true
# googleAnalytics: UA-123-45 # googleAnalytics: UA-123-45
minify: minify:
disableXML: true disableXML: true
# minifyOutput: true # minifyOutput: true
languages: languages:
en: en:
languageName: "English" languageName: "English"
weight: 1 weight: 1
menu: menu:
main: main:
- name: Docs - name: Docs
url: docs url: /docs/
weight: 1 weight: 1
- name: Tags - name: Tags
url: tags/ url: /tags/
weight: 4 weight: 4
- name: Archive - name: Archive
url: archives url: /archives/
weight: 5 weight: 5
- name: Search - name: Search
url: search/ url: /search/
weight: 10 weight: 10
- name: "@Author" - name: "@Author"
url: "https://reorx.com" url: "https://reorx.com"
params: params:
external: true external: true
zh: zh:
languageName: ":cn:" languageName: ":cn:"
languageAltTitle: 中文 languageAltTitle: 中文
weight: 2 weight: 2
title: PaperModX title: PaperModX
profileMode: profileMode:
enabled: true enabled: true
title: PaperModX title: PaperModX
# imageUrl: "#" # imageUrl: "#"
# imageTitle: my image # imageTitle: my image
# imageWidth: 120 # imageWidth: 120
# imageHeight: 120 # imageHeight: 120
subtitle: > subtitle: >
<p>Hugo 主题</p> <p>Hugo 主题</p>
☄️ 快速 | ☁️ 流畅 | 📖 可读性 | 📱 响应式 ☄️ 快速 | ☁️ 流畅 | 📖 可读性 | 📱 响应式
buttons: buttons:
- name: 文档 - name: 文档
url: docs url: docs
- name: 标签 - name: 标签
url: tags url: tags
menu: menu:
main: main:
- name: 文档 - name: 文档
url: docs url: docs
weight: 1 weight: 1
- name: 标签 - name: 标签
url: tags/ url: tags/
weight: 4 weight: 4
- name: 归档 - name: 归档
url: archives url: archives
weight: 5 weight: 5
- name: 搜索 - name: 搜索
url: search/ url: search/
weight: 10 weight: 10
- name: "@作者" - name: "@作者"
url: "https://reorx.com" url: "https://reorx.com"
params: params:
external: true external: true
outputs: outputs:
home: home:
- HTML - HTML
- RSS - RSS
- JSON - JSON
params: params:
env: production # to enable google analytics, opengraph, twitter-cards and schema. env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "Theme PaperModX - https://github.com/reorx/hugo-PaperModX" description: "Theme PaperModX - https://github.com/reorx/hugo-PaperModX"
author: author:
- Reorx - Reorx
mainSections: mainSections:
- docs - docs
- posts - posts
disableAnchoredHeadings: true disableAnchoredHeadings: true
defaultTheme: auto defaultTheme: auto
# disableThemeToggle: true # disableThemeToggle: true
ShowShareButtons: true ShowShareButtons: true
ShowReadingTime: true ShowReadingTime: true
# disableSpecial1stPost: true # disableSpecial1stPost: true
displayFullLangName: true displayFullLangName: true
ShowPostNavLinks: true ShowPostNavLinks: true
ShowBreadCrumbs: true ShowBreadCrumbs: true
ShowCodeCopyButtons: true ShowCodeCopyButtons: true
ShowToc: true ShowToc: true
TocOpen: true TocOpen: true
TocSide: 'right' TocSide: "right"
# DisableSmoothScroll: true # DisableSmoothScroll: true
EnableInstantClick: true EnableInstantClick: true
# comments: false # comments: false
images: ["cover.png"] images: ["cover.png"]
profileMode: profileMode:
enabled: false enabled: false
title: PaperModX title: PaperModX
imageUrl: "#" imageUrl: "#"
imageTitle: my image imageTitle: my image
# imageWidth: 120 # imageWidth: 120
# imageHeight: 120 # imageHeight: 120
buttons: buttons:
- name: Archives - name: Archives
url: archives url: archives
- name: Tags - name: Tags
url: tags url: tags
homeInfoParams: homeInfoParams:
Title: "PaperModX" Title: "PaperModX"
Content: | Content: |
Welcome to demo of hugo's theme PaperModX. Welcome to demo of hugo's theme PaperModX.
- **PaperModX** is a simple but fast and responsive theme with useful feature-set that enhances UX. - **PaperModX** is a simple but fast and responsive theme with useful feature-set that enhances UX.
- PaperModX is based on theme [PaperMod](https://github.com/adityatelange/hugo-PaperMod). - PaperModX is based on theme [PaperMod](https://github.com/adityatelange/hugo-PaperMod).
To get started, please head to the [Docs](docs). To get started, please head to the [Docs](docs).
To see examples of different contents, head to [examples tag](tags/example). To see examples of different contents, head to [examples tag](tags/example).
socialIcons: socialIcons:
- name: github-simple - name: github-simple
url: "https://github.com/reorx/hugo-PaperModX" url: "https://github.com/reorx/hugo-PaperModX"
- name: rss-simple - name: rss-simple
url: "index.xml" url: "index.xml"
editPost: editPost:
URL: "https://github.com/reorx/hugo-PaperModX/tree/exampleSite/content" URL: "https://github.com/reorx/hugo-PaperModX/tree/exampleSite/content"
Text: "Suggest Changes" # edit text Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link appendFilePath: true # to append file path to Edit link
# label: # label:
# text: "Home" # text: "Home"
# icon: icon.png # icon: icon.png
# iconHeight: 35 # iconHeight: 35
# analytics: # assets:
# google: # favicon: "<link / abs url>"
# SiteVerificationTag: "XYZabc" # favicon16x16: "<link / abs url>"
# favicon32x32: "<link / abs url>"
# apple_touch_icon: "<link / abs url>"
# safari_pinned_tab: "<link / abs url>"
# assets: # cover:
# favicon: "<link / abs url>" # hidden: true # hide everywhere but not in structured data
# favicon16x16: "<link / abs url>" # hiddenInList: true # hide on list pages and home
# favicon32x32: "<link / abs url>" # hiddenInSingle: true # hide on single page
# apple_touch_icon: "<link / abs url>"
# safari_pinned_tab: "<link / abs url>"
# cover: # fuseOpts:
# hidden: true # hide everywhere but not in structured data # isCaseSensitive: false
# hiddenInList: true # hide on list pages and home # shouldSort: true
# hiddenInSingle: true # hide on single page # location: 0
# distance: 1000
# fuseOpts: # threshold: 0.4
# isCaseSensitive: false # minMatchCharLength: 0
# shouldSort: true # keys: ["title", "permalink", "summary", "content"]
# location: 0
# distance: 1000
# threshold: 0.4
# minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"]
taxonomies: taxonomies:
category: categories category: categories
tag: tags tag: tags
series: series series: series
markup: markup:
goldmark: goldmark:
renderer: renderer:
unsafe: true unsafe: true
highlight: highlight:
style: dracula style: dracula
lineNos: true lineNos: true
noClasses: false noClasses: false
privacy: privacy:
vimeo: vimeo:
disabled: false disabled: false
simple: true simple: true
twitter: twitter:
disabled: false disabled: false
enableDNT: true enableDNT: true
simple: true simple: true
instagram: instagram:
disabled: false disabled: false
simple: true simple: true
youtube: youtube:
disabled: false disabled: false
privacyEnhanced: true privacyEnhanced: true
services: services:
instagram: instagram:
disableInlineCSS: true disableInlineCSS: true
twitter: twitter:
disableInlineCSS: true disableInlineCSS: true