|
| 1 | +header: |
| 2 | + sticky: true |
| 3 | + logo: |
| 4 | + image: "https://avatars-githubusercontent-webp.webp.se/u/25655983" |
| 5 | + link: "/" |
| 6 | + showThemeSwitch: true |
| 7 | + showDarkModeSwitch: true |
| 8 | + showLanguageSwitch: true |
| 9 | + languageSwitchMode: "dropdown" |
| 10 | + |
| 11 | +toc: |
| 12 | + enabled: true |
| 13 | + position: "center" |
| 14 | + |
| 15 | +description: "苹果派派" |
| 16 | +keywords: ["IMZCC", "苹果派派", "Hugo", "Blog", "Theme", "Technology", "Programming"] |
| 17 | +defaultAuthor: "苹果派派" # Default author name, used in posts without an author set |
| 18 | +language: "zh-cn" |
| 19 | +shortName: "苹果派派" # PWA |
| 20 | +images: |
| 21 | +- "/images/og-default.avif" |
| 22 | + |
| 23 | +favicon: |
| 24 | + svg: "https://avatars-githubusercontent-webp.webp.se/u/25655983" # SVG format favicon (recommended) |
| 25 | + |
| 26 | +seo: |
| 27 | + enableOpenGraph: true |
| 28 | + enableTwitterCard: true |
| 29 | + enableJsonLd: true |
| 30 | + defaultImage: "/images/og-default.avif" |
| 31 | + |
| 32 | +author: |
| 33 | + name: "苹果派派" |
| 34 | + title: "Java、Python爱好者。" |
| 35 | + description: "啥也不是" |
| 36 | + avatar: "https://avatars-githubusercontent-webp.webp.se/u/25655983" |
| 37 | + social: |
| 38 | + - name: "GitHub" |
| 39 | + url: "https://github.com/IMZCC" |
| 40 | + icon: "github" |
| 41 | + - name: "Email" |
| 42 | + url: "mailto:i@imzcc.com" |
| 43 | + icon: "email" |
| 44 | + |
| 45 | +# default color scheme |
| 46 | +colorScheme: "Dracula" |
| 47 | +themes: |
| 48 | + default: |
| 49 | + name: "Default" |
| 50 | + order: 1 |
| 51 | + claude: |
| 52 | + name: "Claude" |
| 53 | + order: 2 |
| 54 | + bumblebee: |
| 55 | + name: "Bumblebee" |
| 56 | + order: 3 |
| 57 | + emerald: |
| 58 | + name: "Emerald" |
| 59 | + order: 4 |
| 60 | + nord: |
| 61 | + name: "Nord" |
| 62 | + order: 5 |
| 63 | + sunset: |
| 64 | + name: "Sunset" |
| 65 | + order: 6 |
| 66 | + abyss: |
| 67 | + name: "Abyss" |
| 68 | + order: 7 |
| 69 | + dracula: |
| 70 | + name: "Dracula" |
| 71 | + order: 8 |
| 72 | + |
| 73 | + |
| 74 | +home: |
| 75 | + recentPostsCount: 5 # Number of recent posts to show on the home page |
| 76 | + |
| 77 | +post: |
| 78 | + showRelated: true # show related posts |
| 79 | + relatedPostsCount: 3 # posts number |
| 80 | + |
| 81 | + license: |
| 82 | + show: false |
| 83 | + author: "Hugo Narrow" |
| 84 | + name: "CC BY-NC-SA 4.0" |
| 85 | + description: "This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license." |
| 86 | + url: "https://creativecommons.org/licenses/by-nc-sa/4.0/" |
| 87 | + displayName: "CC BY-NC-SA 4.0" |
| 88 | + |
| 89 | +# GLightbox |
| 90 | +lightbox: |
| 91 | + enabled: true |
| 92 | + loop: true |
| 93 | + width: 80vw |
| 94 | + height: 80vh |
| 95 | + touchNavigation: true |
| 96 | + draggable: true |
| 97 | + zoomable: true |
| 98 | + preload: true |
| 99 | + descPosition: bottom |
| 100 | + |
| 101 | +# Justified Gallery |
| 102 | +justified_gallery: |
| 103 | + enabled: true |
| 104 | + rowHeight: 300 |
| 105 | + gutter: 30 |
| 106 | + lastRow: center |
| 107 | + transitionDuration: 0.3s |
| 108 | + resizeDebounce: 100 |
| 109 | + rowHeightTolerance: 0.25 |
| 110 | + maxRowsCount: 999999 |
| 111 | + calculateItemsHeight: false |
| 112 | + |
| 113 | +# comments |
| 114 | +comments: |
| 115 | + enabled: false |
| 116 | + # giscus, disqus, utterances, waline, artalk, twikoo |
| 117 | + system: "giscus" |
| 118 | + |
| 119 | + giscus: |
| 120 | + repo: "tom2almighty/hugo-narrow-giscus" |
| 121 | + repoId: "R_kgDOO2gwLg" |
| 122 | + category: "General" |
| 123 | + categoryId: "DIC_kwDOO2gwLs4CrEaf" |
| 124 | + mapping: "pathname" |
| 125 | + strict: "0" |
| 126 | + reactionsEnabled: "1" |
| 127 | + emitMetadata: "0" |
| 128 | + inputPosition: "bottom" |
| 129 | + theme: "preferred_color_scheme" |
| 130 | + lang: "en" |
| 131 | + |
| 132 | + disqus: |
| 133 | + shortname: "" |
| 134 | + |
| 135 | + |
| 136 | + utterances: |
| 137 | + repo: "" |
| 138 | + issueTerm: "pathname" |
| 139 | + label: "comment" |
| 140 | + theme: "preferred-color-scheme" |
| 141 | + |
| 142 | + |
| 143 | + waline: |
| 144 | + serverURL: "" |
| 145 | + lang: "zh-CN" |
| 146 | + |
| 147 | + |
| 148 | + artalk: |
| 149 | + server: "" |
| 150 | + site: "" |
| 151 | + locale: "zh-CN" # String|Object|"auto" |
| 152 | + darkMode: "auto" |
| 153 | + gravatar: |
| 154 | + mirror: "https://cravatar.cn/avatar/" |
| 155 | + |
| 156 | + |
| 157 | + twikoo: |
| 158 | + envId: "" |
| 159 | + region: "ap-shanghai" |
| 160 | + path: "" |
| 161 | + lang: "zh-CN" |
| 162 | + |
| 163 | + |
| 164 | +analytics: |
| 165 | + enabled: true |
| 166 | + baidu: |
| 167 | + enabled: false |
| 168 | + id: "your-baidu-analytics-id" |
| 169 | + clarity: |
| 170 | + enabled: true |
| 171 | + id: "tneyohmuw7" |
| 172 | + google: |
| 173 | + enabled: false |
| 174 | + id: "G-LPVY3HRMW9" |
| 175 | + umami: |
| 176 | + enabled: false |
| 177 | + id: "1f210821-b96e-4193-b749-832c99a55ff9" |
| 178 | + src: "https://cloud.umami.is/script.js" |
| 179 | + domains: "www.imzcc.com" |
| 180 | + |
| 181 | + |
| 182 | +katex: |
| 183 | + enabled: false |
| 184 | + delimiters: |
| 185 | + - left: "$$" |
| 186 | + right: "$$" |
| 187 | + display: true |
| 188 | + - left: "$" |
| 189 | + right: "$" |
| 190 | + display: false |
| 191 | + - left: "\\(" |
| 192 | + right: "\\)" |
| 193 | + display: false |
| 194 | + - left: "\\[" |
| 195 | + right: "\\]" |
| 196 | + display: true |
| 197 | + |
| 198 | +mermaid: |
| 199 | + enabled: false |
| 200 | + |
| 201 | + |
0 commit comments