|
| 1 | +# The Site Configuration |
| 2 | + |
| 3 | +# Import the theme |
| 4 | +theme: jekyll-theme-chirpy |
| 5 | + |
| 6 | +# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm |
| 7 | +# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed, |
| 8 | +# otherwise, the layout language will use the default value of 'en'. |
| 9 | +lang: zh-CN |
| 10 | +# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker |
| 11 | +timezone: Asia/Shanghai |
| 12 | + |
| 13 | +# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md |
| 14 | +# ↓ -------------------------- |
| 15 | + |
| 16 | +title: 我的杂记 # the main title |
| 17 | + |
| 18 | +tagline: 我的一个赛博笔记本 # it will display as the subtitle |
| 19 | + |
| 20 | +description: >- # used by seo meta and the atom feed |
| 21 | + 记录我数学、物理等学科学习笔记,MC模组开发其他任何东西 |
| 22 | +
|
| 23 | +# Fill in the protocol & hostname for your site. |
| 24 | +# E.g. 'https://username.github.io', note that it does not end with a '/'. |
| 25 | +url: "https://github.com/passplease" |
| 26 | +# The base URL of your site |
| 27 | +baseurl: "" |
| 28 | + |
| 29 | +github: |
| 30 | + username: passplease # change to your GitHub username |
| 31 | + |
| 32 | +twitter: |
| 33 | + username: # change to your Twitter username |
| 34 | + |
| 35 | +social: |
| 36 | + # Change to your full name. |
| 37 | + # It will be displayed as the default author of the posts and the copyright owner in the Footer |
| 38 | + name: passplease |
| 39 | + email: |
| 40 | + links: |
| 41 | + # The first element serves as the copyright owner's link |
| 42 | + # change to your Twitter homepage |
| 43 | + - https://github.com/username # change to your GitHub homepage |
| 44 | + # Uncomment below to add more social links |
| 45 | + # - https://www.facebook.com/username |
| 46 | + # - https://www.linkedin.com/in/username |
| 47 | + |
| 48 | +# Site Verification Settings |
| 49 | +webmaster_verifications: |
| 50 | + google: # fill in your Google verification code |
| 51 | + bing: # fill in your Bing verification code |
| 52 | + alexa: # fill in your Alexa verification code |
| 53 | + yandex: # fill in your Yandex verification code |
| 54 | + baidu: # fill in your Baidu verification code |
| 55 | + facebook: # fill in your Facebook verification code |
| 56 | + |
| 57 | +# ↑ -------------------------- |
| 58 | +# The end of `jekyll-seo-tag` settings |
| 59 | + |
| 60 | +# Web Analytics Settings |
| 61 | +analytics: |
| 62 | + google: |
| 63 | + id: # fill in your Google Analytics ID |
| 64 | + goatcounter: |
| 65 | + id: # fill in your GoatCounter ID |
| 66 | + umami: |
| 67 | + id: # fill in your Umami ID |
| 68 | + domain: # fill in your Umami domain |
| 69 | + matomo: |
| 70 | + id: # fill in your Matomo ID |
| 71 | + domain: # fill in your Matomo domain |
| 72 | + cloudflare: |
| 73 | + id: # fill in your Cloudflare Web Analytics token |
| 74 | + fathom: |
| 75 | + id: # fill in your Fathom Site ID |
| 76 | + |
| 77 | +# Page views settings |
| 78 | +pageviews: |
| 79 | + provider: # now only supports 'goatcounter' |
| 80 | + |
| 81 | +# Prefer color scheme setting. |
| 82 | +# |
| 83 | +# Note: Keep empty will follow the system prefer color by default, |
| 84 | +# and there will be a toggle to switch the theme between dark and light |
| 85 | +# on the bottom left of the sidebar. |
| 86 | +# |
| 87 | +# Available options: |
| 88 | +# |
| 89 | +# light — Use the light color scheme |
| 90 | +# dark — Use the dark color scheme |
| 91 | +# |
| 92 | +theme_mode: # [light | dark] |
| 93 | + |
| 94 | +# The CDN endpoint for media resources. |
| 95 | +# Notice that once it is assigned, the CDN url |
| 96 | +# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/' |
| 97 | +# |
| 98 | +# e.g. 'https://cdn.com' |
| 99 | +# cdn: "https://chirpy-img.netlify.app" |
| 100 | + |
| 101 | +# the avatar on sidebar, support local or CORS resources |
| 102 | +avatar: "/commons/avatar.png" |
| 103 | + |
| 104 | +# The URL of the site-wide social preview image used in SEO `og:image` meta tag. |
| 105 | +# It can be overridden by a customized `page.image` in front matter. |
| 106 | +social_preview_image: # string, local or CORS resources |
| 107 | + |
| 108 | +# boolean type, the global switch for TOC in posts. |
| 109 | +toc: true |
| 110 | + |
| 111 | +comments: |
| 112 | + # Global switch for the post-comment system. Keeping it empty means disabled. |
| 113 | + provider: giscus # [disqus | utterances | giscus] |
| 114 | + # The provider options are as follows: |
| 115 | + disqus: |
| 116 | + shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname |
| 117 | + # utterances settings › https://utteranc.es/ |
| 118 | + utterances: |
| 119 | + repo: # <gh-username>/<repo> |
| 120 | + issue_term: # < url | pathname | title | ...> |
| 121 | + # Giscus options › https://giscus.app |
| 122 | + giscus: |
| 123 | + repo: passplease # <gh-username>/<repo> |
| 124 | + repo_id: R_kgDONiwFHQ |
| 125 | + category: Comments |
| 126 | + category_id: DIC_kwDONiwFHc4CmQtj |
| 127 | + mapping: # optional, default to 'pathname' |
| 128 | + strict: # optional, default to '0' |
| 129 | + input_position: # optional, default to 'bottom' |
| 130 | + lang: # optional, default to the value of `site.lang` |
| 131 | + reactions_enabled: # optional, default to the value of `1` |
| 132 | + |
| 133 | +# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets |
| 134 | +assets: |
| 135 | + self_host: |
| 136 | + enabled: # boolean, keep empty means false |
| 137 | + # specify the Jekyll environment, empty means both |
| 138 | + # only works if `assets.self_host.enabled` is 'true' |
| 139 | + env: # [development | production] |
| 140 | + |
| 141 | +pwa: |
| 142 | + enabled: true # The option for PWA feature (installable) |
| 143 | + cache: |
| 144 | + enabled: true # The option for PWA offline cache |
| 145 | + # Paths defined here will be excluded from the PWA cache. |
| 146 | + # Usually its value is the `baseurl` of another website that |
| 147 | + # shares the same domain name as the current website. |
| 148 | + deny_paths: |
| 149 | + # - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA |
| 150 | + |
| 151 | +paginate: 10 |
| 152 | + |
| 153 | +# ------------ The following options are not recommended to be modified ------------------ |
| 154 | + |
| 155 | +kramdown: |
| 156 | + footnote_backlink: "↩︎" |
| 157 | + syntax_highlighter: rouge |
| 158 | + syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options |
| 159 | + css_class: highlight |
| 160 | + # default_lang: console |
| 161 | + span: |
| 162 | + line_numbers: false |
| 163 | + block: |
| 164 | + line_numbers: true |
| 165 | + start_line: 1 |
| 166 | + |
| 167 | +collections: |
| 168 | + tabs: |
| 169 | + output: true |
| 170 | + sort_by: order |
| 171 | + |
| 172 | +defaults: |
| 173 | + - scope: |
| 174 | + path: "" # An empty string here means all files in the project |
| 175 | + type: posts |
| 176 | + values: |
| 177 | + layout: post |
| 178 | + comments: true # Enable comments in posts. |
| 179 | + toc: true # Display TOC column in posts. |
| 180 | + # DO NOT modify the following parameter unless you are confident enough |
| 181 | + # to update the code of all other post links in this project. |
| 182 | + permalink: /posts/:title/ |
| 183 | + - scope: |
| 184 | + path: _drafts |
| 185 | + values: |
| 186 | + comments: false |
| 187 | + - scope: |
| 188 | + path: "" |
| 189 | + type: tabs # see `site.collections` |
| 190 | + values: |
| 191 | + layout: page |
| 192 | + permalink: /:title/ |
| 193 | + |
| 194 | +sass: |
| 195 | + style: compressed |
| 196 | + |
| 197 | +compress_html: |
| 198 | + clippings: all |
| 199 | + comments: all |
| 200 | + endings: utf-8 |
| 201 | + profile: false |
| 202 | + blanklines: false |
| 203 | + ignore: |
| 204 | + envs: [development] |
| 205 | + |
| 206 | +exclude: |
| 207 | + - "*.gem" |
| 208 | + - "*.gemspec" |
| 209 | + - docs |
| 210 | + - tools |
| 211 | + - README.md |
| 212 | + - LICENSE |
| 213 | + - purgecss.js |
| 214 | + - rollup.config.js |
| 215 | + - "package*.json" |
| 216 | + |
| 217 | +jekyll-archives: |
| 218 | + enabled: [categories, tags] |
| 219 | + layouts: |
| 220 | + category: category |
| 221 | + tag: tag |
| 222 | + permalinks: |
| 223 | + tag: /tags/:name/ |
| 224 | + category: /categories/:name/ |
0 commit comments