diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-14 11:38:07 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-14 11:38:07 +0800 |
| commit | 883c9ec553e3fcfb9067e2d75fd1f17c72b855bf (patch) | |
| tree | 157dd20286e88e827518c67bcb1ffbff95b28f2e /exampleSite/config.yml | |
| parent | 7880623a8d195abb0b500b17cbf8f3e62fd93fc7 (diff) | |
add exampleSite
Diffstat (limited to 'exampleSite/config.yml')
| -rw-r--r-- | exampleSite/config.yml | 215 |
1 files changed, 215 insertions, 0 deletions
diff --git a/exampleSite/config.yml b/exampleSite/config.yml new file mode 100644 index 0000000..dc58fc0 --- /dev/null +++ b/exampleSite/config.yml @@ -0,0 +1,215 @@ +baseURL: "https://reorx.github.io/hugo-PaperModX/" +title: PaperModX +paginate: 5 +theme: hugo-PaperModX +# NOTE remove this line if you copy exampleSite outof hugo-PaperModX +themesdir: ../.. + +enableInlineShortcodes: true +enableRobotsTXT: true +buildDrafts: false +buildFuture: false +buildExpired: false +enableEmoji: true +pygmentsUseClasses: true +# googleAnalytics: UA-123-45 + +minify: + disableXML: true + # minifyOutput: true + +languages: + en: + languageName: "English" + weight: 1 + menu: + main: + - name: Archive + url: archives + weight: 5 + - name: Search + url: search/ + weight: 10 + - name: Tags + url: tags/ + weight: 10 + - name: Categories + url: categories/ + weight: 10 + - name: Icons + url: icons/ + weight: 10 + - name: "@Author" + url: "https://reorx.com" + + zh: + languageName: ":cn:" + languageAltTitle: 中文 + weight: 2 + title: PaperModX + profileMode: + enabled: true + title: PaperModX + # imageUrl: "#" + # imageTitle: my image + # imageWidth: 120 + # imageHeight: 120 + subtitle: > + <p>Hugo 主题</p> + ☄️ 快速 | ☁️ 流畅 | 📖 可读性 | 📱 响应式 + buttons: + - name: 文档 + url: posts + - name: 标签 + url: tags + menu: + main: + - name: 归档 + url: archives/ + weight: 5 + - name: 标签 + url: tags + weight: 10 + - name: 分类 + url: categories + weight: 10 + - name: 系列 + url: series + weight: 10 + - name: 搜索 + url: search/ + weight: 20 + - name: "@Author" + url: "https://reorx.com" + +outputs: + home: + - HTML + - RSS + - JSON + +params: + env: production # to enable google analytics, opengraph, twitter-cards and schema. + description: "Theme PaperModX - https://github.com/reorx/hugo-PaperModX" + author: ["reorx", "adityatelange"] + + defaultTheme: auto + # disableThemeToggle: true + ShowShareButtons: true + ShowReadingTime: true + # disableSpecial1stPost: true + displayFullLangName: true + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: true + ShowToc: true + TocOpen: true + TocSide: 'right' + # DisableSmoothScroll: true + EnableInstantClick: true + # comments: false + images: ["cover.png"] + + profileMode: + enabled: false + title: PaperModX + imageUrl: "#" + imageTitle: my image + # imageWidth: 120 + # imageHeight: 120 + buttons: + - name: Archives + url: archives + - name: Tags + url: tags + + homeInfoParams: + Title: "PaperModX" + Content: > + 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 based on theme [PaperMod](https://github.com/adityatelange/hugo-PaperMod). + + socialIcons: + - name: github-simple + url: "https://github.com/reorx/hugo-PaperModX" + - name: rss-simple + url: "index.xml" + + editPost: + URL: "https://github.com/reorx/hugo-PaperModX/tree/exampleSite/content" + Text: "Suggest Changes" # edit text + appendFilePath: true # to append file path to Edit link + + # label: + # text: "Home" + # icon: icon.png + # iconHeight: 35 + + # analytics: + # google: + # SiteVerificationTag: "XYZabc" + + # assets: + # favicon: "<link / abs url>" + # favicon16x16: "<link / abs url>" + # favicon32x32: "<link / abs url>" + # apple_touch_icon: "<link / abs url>" + # safari_pinned_tab: "<link / abs url>" + + # cover: + # hidden: true # hide everywhere but not in structured data + # hiddenInList: true # hide on list pages and home + # hiddenInSingle: true # hide on single page + + # fuseOpts: + # isCaseSensitive: false + # shouldSort: true + # location: 0 + # distance: 1000 + # threshold: 0.4 + # minMatchCharLength: 0 + # keys: ["title", "permalink", "summary", "content"] + +taxonomies: + category: categories + tag: tags + series: series + +markup: + goldmark: + renderer: + unsafe: true +# highlight: +# # anchorLineNos: true +# codeFences: true +# guessSyntax: true +# lineNos: true +# # noClasses: false +# style: monokai + +privacy: + vimeo: + disabled: false + simple: true + + twitter: + disabled: false + enableDNT: true + simple: true + + instagram: + disabled: false + simple: true + + youtube: + disabled: false + privacyEnhanced: true + +services: + instagram: + disableInlineCSS: true + twitter: + disableInlineCSS: true |
