|
| 1 | +# The Site Configuration |
| 2 | + |
| 3 | +# Import the theme |
| 4 | +theme: jekyll-theme-chirpy |
| 5 | + |
| 6 | +# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites |
| 7 | +# and doesn't have a custom domain. |
| 8 | +baseurl: '' |
| 9 | + |
| 10 | +# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm |
| 11 | +# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed, |
| 12 | +# otherwise, the layout language will use the default value of 'en'. |
| 13 | +lang: en |
| 14 | + |
| 15 | +# Additional parameters for datetime localization, optional. › https://github.com/iamkun/dayjs/tree/dev/src/locale |
| 16 | +prefer_datetime_locale: |
| 17 | + |
| 18 | +# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone |
| 19 | +timezone: |
| 20 | + |
| 21 | +# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md |
| 22 | +# ↓ -------------------------- |
| 23 | + |
| 24 | +title: Chirpy # the main title |
| 25 | + |
| 26 | +tagline: A text-focused Jekyll theme # it will display as the sub-title |
| 27 | + |
| 28 | +description: >- # used by seo meta and the atom feed |
| 29 | + A minimal, responsive, and powerful Jekyll theme for presenting professional writing. |
| 30 | +
|
| 31 | +# fill in the protocol & hostname for your site, e.g., 'https://username.github.io' |
| 32 | +url: '' |
| 33 | + |
| 34 | +github: |
| 35 | + username: github_username # change to your github username |
| 36 | + |
| 37 | +twitter: |
| 38 | + username: twitter_username # change to your twitter username |
| 39 | + |
| 40 | +social: |
| 41 | + # Change to your full name. |
| 42 | + # It will be displayed as the default author of the posts and the copyright owner in the Footer |
| 43 | + name: your_full_name |
| 44 | + email: [email protected] # change to your email address |
| 45 | + links: |
| 46 | + # The first element serves as the copyright owner's link |
| 47 | + - https://twitter.com/username # change to your twitter homepage |
| 48 | + - https://github.com/username # change to your github homepage |
| 49 | + # Uncomment below to add more social links |
| 50 | + # - https://www.facebook.com/username |
| 51 | + # - https://www.linkedin.com/in/username |
| 52 | + |
| 53 | +google_site_verification: # fill in to your verification string |
| 54 | + |
| 55 | +# ↑ -------------------------- |
| 56 | +# The end of `jekyll-seo-tag` settings |
| 57 | + |
| 58 | +google_analytics: |
| 59 | + id: # fill in your Google Analytics ID |
| 60 | + # Google Analytics pageviews report settings |
| 61 | + pv: |
| 62 | + proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine |
| 63 | + cache_path: # the local PV cache data, friendly to visitors from GFW region |
| 64 | + |
| 65 | +# Prefer color scheme setting. |
| 66 | +# |
| 67 | +# Note: Keep empty will follow the system prefer color by default, |
| 68 | +# and there will be a toggle to switch the theme between dark and light |
| 69 | +# on the bottom left of the sidebar. |
| 70 | +# |
| 71 | +# Available options: |
| 72 | +# |
| 73 | +# light - Use the light color scheme |
| 74 | +# dark - Use the dark color scheme |
| 75 | +# |
| 76 | +theme_mode: # [light|dark] |
| 77 | + |
| 78 | +# The CDN endpoint for images. |
| 79 | +# Notice that once it is assigned, the CDN url |
| 80 | +# will be added to all image (site avatar & posts' images) paths starting with '/' |
| 81 | +# |
| 82 | +# e.g. 'https://cdn.com' |
| 83 | +img_cdn: |
| 84 | + |
| 85 | +# the avatar on sidebar, support local or CORS resources |
| 86 | +avatar: |
| 87 | + |
| 88 | +# boolean type, the global switch for ToC in posts. |
| 89 | +toc: true |
| 90 | + |
| 91 | +comments: |
| 92 | + active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable |
| 93 | + # The active options are as follows: |
| 94 | + disqus: |
| 95 | + shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname |
| 96 | + # utterances settings › https://utteranc.es/ |
| 97 | + utterances: |
| 98 | + repo: # <gh-username>/<repo> |
| 99 | + issue_term: # < url | pathname | title | ...> |
| 100 | + # Giscus options › https://giscus.app |
| 101 | + giscus: |
| 102 | + repo: # <gh-username>/<repo> |
| 103 | + repo_id: |
| 104 | + category: |
| 105 | + category_id: |
| 106 | + mapping: # optional, default to 'pathname' |
| 107 | + input_position: # optional, default to 'bottom' |
| 108 | + lang: # optional, default to the value of `site.lang` |
| 109 | + |
| 110 | +# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets |
| 111 | +assets: |
| 112 | + self_host: |
| 113 | + enabled: # boolean, keep empty means false |
| 114 | + # specify the Jekyll environment, empty means both |
| 115 | + # only works if `assets.self_host.enabled` is 'true' |
| 116 | + env: # [development|production] |
| 117 | + |
| 118 | +pwa: |
| 119 | + enabled: true # the option for PWA feature |
| 120 | + |
| 121 | +paginate: 10 |
| 122 | + |
| 123 | +# ------------ The following options are not recommended to be modified ------------------ |
| 124 | + |
| 125 | +kramdown: |
| 126 | + syntax_highlighter: rouge |
| 127 | + syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options |
| 128 | + css_class: highlight |
| 129 | + # default_lang: console |
| 130 | + span: |
| 131 | + line_numbers: false |
| 132 | + block: |
| 133 | + line_numbers: true |
| 134 | + start_line: 1 |
| 135 | + |
| 136 | +collections: |
| 137 | + tabs: |
| 138 | + output: true |
| 139 | + sort_by: order |
| 140 | + |
| 141 | +defaults: |
| 142 | + - scope: |
| 143 | + path: '' # An empty string here means all files in the project |
| 144 | + type: posts |
| 145 | + values: |
| 146 | + layout: post |
| 147 | + comments: true # Enable comments in posts. |
| 148 | + toc: true # Display TOC column in posts. |
| 149 | + # DO NOT modify the following parameter unless you are confident enough |
| 150 | + # to update the code of all other post links in this project. |
| 151 | + permalink: /posts/:title/ |
| 152 | + - scope: |
| 153 | + path: _drafts |
| 154 | + values: |
| 155 | + comments: false |
| 156 | + - scope: |
| 157 | + path: '' |
| 158 | + type: tabs # see `site.collections` |
| 159 | + values: |
| 160 | + layout: page |
| 161 | + permalink: /:title/ |
| 162 | + - scope: |
| 163 | + path: assets/img/favicons |
| 164 | + values: |
| 165 | + swcache: true |
| 166 | + - scope: |
| 167 | + path: assets/js/dist |
| 168 | + values: |
| 169 | + swcache: true |
| 170 | + |
| 171 | +sass: |
| 172 | + style: compressed |
| 173 | + |
| 174 | +compress_html: |
| 175 | + clippings: all |
| 176 | + comments: all |
| 177 | + endings: all |
| 178 | + profile: false |
| 179 | + blanklines: false |
| 180 | + ignore: |
| 181 | + envs: [development] |
| 182 | + |
| 183 | +exclude: |
| 184 | + - '*.gem' |
| 185 | + - '*.gemspec' |
| 186 | + - tools |
| 187 | + - README.md |
| 188 | + - CHANGELOG.md |
| 189 | + - LICENSE |
| 190 | + - gulpfile.js |
| 191 | + - node_modules |
| 192 | + - package*.json |
| 193 | + |
| 194 | +jekyll-archives: |
| 195 | + enabled: [categories, tags] |
| 196 | + layouts: |
| 197 | + category: category |
| 198 | + tag: tag |
| 199 | + permalinks: |
| 200 | + tag: /tags/:name/ |
| 201 | + category: /categories/:name/ |
0 commit comments