jekyll-theme-chirpy 3.3.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +73 -40
  3. data/_config.yml +24 -21
  4. data/_data/locales/en.yml +87 -0
  5. data/_data/locales/zh-CN.yml +86 -0
  6. data/_includes/css-selector.html +5 -0
  7. data/_includes/favicons.html +11 -26
  8. data/_includes/footer.html +17 -8
  9. data/_includes/head.html +23 -27
  10. data/_includes/js-selector.html +16 -4
  11. data/_includes/no-zero-date.html +13 -0
  12. data/_includes/panel.html +3 -3
  13. data/_includes/post-nav.html +4 -4
  14. data/_includes/post-paginator.html +9 -1
  15. data/_includes/post-sharing.html +5 -3
  16. data/_includes/read-time.html +12 -2
  17. data/_includes/refactor-content.html +75 -11
  18. data/_includes/related-posts.html +1 -1
  19. data/_includes/search-results.html +1 -1
  20. data/_includes/sidebar.html +8 -7
  21. data/_includes/timeago.html +12 -16
  22. data/_includes/topbar.html +27 -21
  23. data/_layouts/archives.html +4 -3
  24. data/_layouts/categories.html +15 -18
  25. data/_layouts/category.html +2 -2
  26. data/_layouts/default.html +3 -1
  27. data/_layouts/home.html +4 -5
  28. data/_layouts/page.html +8 -1
  29. data/_layouts/post.html +26 -12
  30. data/_layouts/tag.html +2 -3
  31. data/_sass/addon/commons.scss +98 -61
  32. data/_sass/addon/module.scss +6 -6
  33. data/_sass/addon/syntax.scss +24 -16
  34. data/_sass/addon/variables.scss +25 -13
  35. data/_sass/colors/light-syntax.scss +1 -1
  36. data/_sass/colors/light-typography.scss +1 -1
  37. data/_sass/jekyll-theme-chirpy.scss +2 -1
  38. data/_sass/layout/home.scss +30 -15
  39. data/_sass/layout/post.scss +4 -12
  40. data/_sass/variables-hook.scss +3 -0
  41. data/assets/404.html +31 -0
  42. data/assets/css/style.scss +7 -2
  43. data/{feed.xml → assets/feed.xml} +3 -2
  44. data/assets/img/favicons/android-chrome-192x192.png +0 -0
  45. data/assets/img/favicons/android-chrome-512x512.png +0 -0
  46. data/assets/img/favicons/apple-touch-icon.png +0 -0
  47. data/assets/img/favicons/browserconfig.xml +3 -6
  48. data/assets/img/favicons/favicon-16x16.png +0 -0
  49. data/assets/img/favicons/favicon-32x32.png +0 -0
  50. data/assets/img/favicons/favicon.ico +0 -0
  51. data/assets/img/favicons/mstile-150x150.png +0 -0
  52. data/assets/img/favicons/site.webmanifest +26 -0
  53. data/assets/js/data/swcache.js +64 -0
  54. data/assets/js/dist/categories.min.js +2 -2
  55. data/assets/js/dist/commons.min.js +6 -0
  56. data/assets/js/dist/home.min.js +2 -2
  57. data/assets/js/dist/page.min.js +2 -2
  58. data/assets/js/dist/post.min.js +2 -2
  59. data/assets/js/dist/pvreport.min.js +2 -2
  60. data/{app.js → assets/js/pwa/app.js} +1 -0
  61. data/assets/js/pwa/sw.js +87 -0
  62. data/{robots.txt → assets/robots.txt} +1 -1
  63. metadata +23 -37
  64. data/404.html +0 -21
  65. data/_data/date_format.yml +0 -7
  66. data/_data/label.yml +0 -19
  67. data/_data/rights.yml +0 -11
  68. data/_includes/lozad.html +0 -10
  69. data/assets/img/favicons/android-icon-144x144.png +0 -0
  70. data/assets/img/favicons/android-icon-192x192.png +0 -0
  71. data/assets/img/favicons/android-icon-36x36.png +0 -0
  72. data/assets/img/favicons/android-icon-48x48.png +0 -0
  73. data/assets/img/favicons/android-icon-72x72.png +0 -0
  74. data/assets/img/favicons/android-icon-96x96.png +0 -0
  75. data/assets/img/favicons/apple-icon-114x114.png +0 -0
  76. data/assets/img/favicons/apple-icon-120x120.png +0 -0
  77. data/assets/img/favicons/apple-icon-144x144.png +0 -0
  78. data/assets/img/favicons/apple-icon-152x152.png +0 -0
  79. data/assets/img/favicons/apple-icon-180x180.png +0 -0
  80. data/assets/img/favicons/apple-icon-57x57.png +0 -0
  81. data/assets/img/favicons/apple-icon-60x60.png +0 -0
  82. data/assets/img/favicons/apple-icon-72x72.png +0 -0
  83. data/assets/img/favicons/apple-icon-76x76.png +0 -0
  84. data/assets/img/favicons/apple-icon-precomposed.png +0 -0
  85. data/assets/img/favicons/apple-icon.png +0 -0
  86. data/assets/img/favicons/favicon-96x96.png +0 -0
  87. data/assets/img/favicons/manifest.json +0 -54
  88. data/assets/img/favicons/ms-icon-144x144.png +0 -0
  89. data/assets/img/favicons/ms-icon-150x150.png +0 -0
  90. data/assets/img/favicons/ms-icon-310x310.png +0 -0
  91. data/assets/img/favicons/ms-icon-70x70.png +0 -0
  92. data/assets/js/data/cache-list.js +0 -61
  93. data/sw.js +0 -60
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48154aef2c1cd8595d4ead04e7a9b8d33bbe3430d417dca087b9250faa4ee0b4
4
- data.tar.gz: ffb31a5c34d28e29f51801abc2ed38e94d2213ff48fb7fb653f9070168b99fb8
3
+ metadata.gz: bb3a0e44483446ef705279dfd00eeee2895baf01853f2ee78709916044cf2f04
4
+ data.tar.gz: e382dc069e0b8bdb3553c001649ef5842c7620e3fb0575dbaee2bc77f60472f7
5
5
  SHA512:
6
- metadata.gz: 3cf3587c01b6d00fef61547e4653502354afe63637cf8eb6345b3ebdf8249ba3a096cfb02cccf350a8d6956003279bdf4bce56227287b98bc92c047e618adcfb
7
- data.tar.gz: 6b7181ecd039e952966240a0ce48685bd4b791d161021cf783cd3ecb3fe566e4e220e198f4b74002f5f8b9d36aa081597891a2cf689b6f32616c6a62a28f2a6b
6
+ metadata.gz: e0b815bb2f9f4e4c9b4ce0b547030a26416761910fd324c1b56d5e49d64b57cb79085d0ae62f6c5d623c4cc0b4283a2dfdb1098765a69798cca2ff322a763e30
7
+ data.tar.gz: c1119adbf07c093db34e2651cc3f652a0ea87f662c85beeabf4ff6395edbe8a7e5fc21a626a37b47a89070163692377d7fd6778a1434ac783a23c480ee519f20
data/README.md CHANGED
@@ -1,47 +1,70 @@
1
- # Chirpy
2
-
3
- Language: English | [简体中文](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/README.zh-CN.md)
4
-
5
- [![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy?color=brightgreen)](https://rubygems.org/gems/jekyll-theme-chirpy)
6
- [![Build Status](https://github.com/cotes2020/jekyll-theme-chirpy/workflows/build/badge.svg?branch=master&event=push)](https://github.com/cotes2020/jekyll-theme-chirpy/actions?query=branch%3Amaster+event%3Apush)
7
- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/8220b926db514f13afc3f02b7f884f4b)](https://app.codacy.com/manual/cotes2020/jekyll-theme-chirpy?utm_source=github.com&utm_medium=referral&utm_content=cotes2020/jekyll-theme-chirpy&utm_campaign=Badge_Grade_Dashboard)
8
- [![GitHub license](https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy.svg)](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE)
9
- [![996.icu](https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg)](https://996.icu)
10
-
11
- A minimal, sidebar, responsive web design Jekyll theme that focuses on text presentation. Designed to help you record and share your knowledge easily. [Live Demo »](https://chirpy.cotes.info)
12
-
13
- [![Devices Mockup](https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/commons/devices-mockup.png)](https://chirpy.cotes.info)
1
+ <div align="right">
2
+ <a href="https://github.com/cotes2020/jekyll-theme-chirpy#readme">EN</a> |
3
+ <a href="https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/README.zh-CN.md">中文 (简体)</a>
4
+ </div>
5
+
6
+ <div align="center">
7
+ <h1>Chirpy Jekyll Theme</h1>
8
+ <p>
9
+ <a href="https://rubygems.org/gems/jekyll-theme-chirpy">
10
+ <img alt="Gem Version" src="https://img.shields.io/gem/v/jekyll-theme-chirpy?color=brightgreen"></img>
11
+ </a>
12
+ <a href="https://github.com/cotes2020/jekyll-theme-chirpy/actions?query=branch%3Amaster+event%3Apush">
13
+ <img alt="Build Status" src="https://github.com/cotes2020/jekyll-theme-chirpy/workflows/build/badge.svg?branch=master&event=push"></img>
14
+ </a>
15
+ <a href="https://app.codacy.com/manual/cotes2020/jekyll-theme-chirpy?utm_source=github.com&utm_medium=referral&utm_content=cotes2020/jekyll-theme-chirpy&utm_campaign=Badge_Grade_Dashboard">
16
+ <img alt="Codacy Badge" src="https://api.codacy.com/project/badge/Grade/8220b926db514f13afc3f02b7f884f4b"></img>
17
+ </a>
18
+ <a href="https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE">
19
+ <img alt="GitHub license" src="https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy.svg"></img>
20
+ </a>
21
+ <a href="https://996.icu">
22
+ <img alt="996.icu" src="https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg"></img>
23
+ </a>
24
+ </p>
25
+ </div>
26
+
27
+ A minimal, sidebar, responsive web design Jekyll theme that focuses on text presentation. Designed to help you easily record and share your knowledge.
28
+
29
+ [Live Demo »](https://chirpy.cotes.info)
30
+
31
+ <p align="center">
32
+ <a href="https://chirpy.cotes.info">
33
+ <img alt="Devices Mockup" src="https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/commons/devices-mockup.png"></img>
34
+ </a>
35
+ </p>
14
36
 
15
37
  ## Features
16
38
 
39
+ - Localized Layout
40
+ - Configurable Theme Mode
17
41
  - Pinned Posts
18
- - Configurable theme mode
19
- - Double-level Categories
20
- - Last modified date for posts
42
+ - Hierarchical Categories
43
+ - Last Modified Date for Posts
21
44
  - Table of Contents
22
- - Automatically recommend related posts
23
- - Syntax highlighting
24
- - Mathematical expressions
25
- - Mermaid diagram & flowchart
45
+ - Automatically Recommend Related Posts
46
+ - Syntax Highlighting
47
+ - Mathematical Expressions
48
+ - Mermaid Diagram & Flowchart
26
49
  - Search
27
50
  - Atom Feeds
28
51
  - Disqus Comments
29
52
  - Google Analytics
30
- - GA Pageviews reporting (Advanced)
31
- - SEO and Performance Optimization
53
+ - GA Pageviews Reporting (Advanced)
54
+ - SEO & Performance Optimization
32
55
 
33
56
  ## Prerequisites
34
57
 
35
- Follow the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of `Ruby`, `RubyGems`, `Jekyll` and `Bundler`.
58
+ Follow the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of `Ruby`, `RubyGems`, `Jekyll` and `Bundler`. Please note that the version of `Ruby` must meet the requirements of the theme on [RubyGems.org](https://rubygems.org/gems/jekyll-theme-chirpy).
36
59
 
37
60
  ## Installation
38
61
 
39
62
  There are two ways to get the theme:
40
63
 
41
- - **Install from RubyGems** - Easy to update, isolate irrelevant project files so you can focus on writing.
42
- - **Fork on GitHub** - Convenient for custom development, but difficult to update, only suitable for web developers.
64
+ - **[Install from RubyGems](#install-from-rubygems)** - Easy to update, isolate irrelevant project files so you can focus on writing.
65
+ - **[Fork on GitHub](#fork-on-github)** - Convenient for custom development, but difficult to update, only suitable for web developers.
43
66
 
44
- ### Installing the Theme Gem
67
+ ### Install from RubyGems
45
68
 
46
69
  Add this line to your Jekyll site's `Gemfile`:
47
70
 
@@ -61,15 +84,19 @@ And then execute:
61
84
  $ bundle
62
85
  ```
63
86
 
64
- Finally, copy the required files from the theme's gem (for detailed files, see [starter project][starter]) to your Jekyll site.
87
+ Next, go to the installed local theme path:
65
88
 
66
- > **Hint**: To locate the installed theme’s gem, execute:
89
+ ```console
90
+ $ cd "$(bundle info --path jekyll-theme-chirpy)"
91
+ ```
92
+
93
+ And then copy the critical files (for details, see [starter project][starter]) from the theme's gem to your Jekyll site.
94
+
95
+ > ⚠️ **Watch out for duplicate files!**
67
96
  >
68
- > ```console
69
- > $ bundle info --path jekyll-theme-chirpy
70
- > ```
97
+ If your Jekyll site is created by the `jekyll new` command, there will be `index.markdown` and `about.markdown` in the root directory of your site. Please be sure to remove them, otherwise they will overwrite the `index.html` and `_tabs/about.html` from this project, resulting in blank or messy pages.
71
98
 
72
- Or you can [**use the starter template**][use-starter] to create a Jekyll site to save time copying files from theme's gem. We have prepared everything for you there!
99
+ As an alternative, which we recommend, you can create a Jekyll site [**using the starter template**][use-starter] to save time copying files from the theme's gem. We've prepared everything you need there!
73
100
 
74
101
  ### Fork on GitHub
75
102
 
@@ -96,7 +123,7 @@ What it does is:
96
123
  - files under `_posts`
97
124
  - folder `docs`
98
125
 
99
- 2. If you use the `--no-gh` option, the directory `.github` will be deleted. Otherwise, setup the GitHub Action workflow by removing extension `.hook` of `.github/workflows/pages-deploy.yml.hook`, and then remove the other files and directories in folder `.github`.
126
+ 2. If you use the `--no-gh` option, the directory `.github` will be deleted. Otherwise, setup the GitHub Action workflow by removing the extension `.hook` of `.github/workflows/pages-deploy.yml.hook`, and then remove the other files and directories in the folder `.github`.
100
127
 
101
128
  3. Automatically create a commit to save the changes.
102
129
 
@@ -111,6 +138,12 @@ Update the variables of `_config.yml` as needed. Some of them are typical option
111
138
  - `timezone`
112
139
  - `lang`
113
140
 
141
+ ### Customing Stylesheet
142
+
143
+ If you need to customize stylesheet, copy the theme's `assets/css/style.scss` to the same path on your Jekyll site, and then add the custom style at the end of the style file.
144
+
145
+ Starting from `v4.1.0`, if you want to overwrite the SASS variables defined in `_sass/addon/variables.scss`, create a new file `_sass/variables-hook.scss` and assign new values to the target variable in it.
146
+
114
147
  ### Running Local Server
115
148
 
116
149
  You may want to preview the site contents before publishing, so just run it by:
@@ -132,7 +165,7 @@ Open a browser and visit to _<http://localhost:4000>_.
132
165
 
133
166
  ### Deployment
134
167
 
135
- Before the deployment begins, checkout the file `_config.yml` and make sure the `url` is configured correctly. Furthermore, if you prefer the [**project site**](https://help.github.com/en/github/working-with-github-pages/about-github-pages#types-of-github-pages-sites) and don't use a custom domain, or you want to visit your website with a base url on a web server other than **GitHub Pages**, remember to change the `baseurl` to your project name that starting with a slash, e.g, `/project-name`.
168
+ Before the deployment begins, checkout the file `_config.yml` and make sure the `url` is configured correctly. Furthermore, if you prefer the [**project site**](https://help.github.com/en/github/working-with-github-pages/about-github-pages#types-of-github-pages-sites) and don't use a custom domain, or you want to visit your website with a base URL on a web server other than **GitHub Pages**, remember to change the `baseurl` to your project name that starting with a slash, e.g, `/project-name`.
136
169
 
137
170
  Now you can choose ONE of the following methods to deploy your Jekyll site.
138
171
 
@@ -145,13 +178,13 @@ Quickly check the files needed for GitHub Actions build:
145
178
  - Ensure your Jekyll site has the file `.github/workflows/pages-deploy.yml`. Otherwise, create a new one and fill in the contents of the [workflow file][workflow], and the value of the `on.push.branches` should be the same as your repo's default branch name.
146
179
  - Ensure your Jekyll site has file `tools/test.sh` and `tools/deploy.sh`. Otherwise, copy them from this repo to your Jekyll site.
147
180
 
148
- And then rename your repoistory to `<GH-USERNAME>.github.io` on GitHub.
181
+ And then rename your repository to `<GH-USERNAME>.github.io` on GitHub.
149
182
 
150
183
  Now publish your Jekyll site by:
151
184
 
152
185
  1. Push any commit to remote to trigger the GitHub Actions workflow. Once the build is complete and successful, a new remote branch named `gh-pages` will appear to store the built site files.
153
186
 
154
- 2. Browse to your repo's landing page on GitHub and select the branch `gh-pages` as the [publishing source](https://docs.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) throught _Settings_ → _Options_ → _GitHub Pages_:
187
+ 2. Browse to your repo's landing page on GitHub and select the branch `gh-pages` as the [publishing source](https://docs.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) through _Settings_ → _Options_ → _GitHub Pages_:
155
188
 
156
189
  ![gh-pages-sources](https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/posts/20190809/gh-pages-sources.png)
157
190
 
@@ -181,7 +214,7 @@ Unless you specified the output path, the generated site files will be placed in
181
214
 
182
215
  ## Documentation
183
216
 
184
- For more details and the better reading experience, please check out the [tutorials on demo site](https://chirpy.cotes.info/categories/tutorial/). In the meanwhile, a copy of the tutorial is also available on the [Wiki](https://github.com/cotes2020/jekyll-theme-chirpy/wiki).
217
+ For more details and a better reading experience, please check out the [tutorials on the demo site](https://chirpy.cotes.info/categories/tutorial/). In the meanwhile, a copy of the tutorial is also available on the [Wiki](https://github.com/cotes2020/jekyll-theme-chirpy/wiki). Please note that the tutorials on the demo website or Wiki are based on the latest release, and the features of `master` branch usually ahead of the documentation.
185
218
 
186
219
  ## Contributing
187
220
 
@@ -189,11 +222,11 @@ The old saying, "Two heads are better than one." Consequently, welcome to report
189
222
 
190
223
  ## Credits
191
224
 
192
- This theme is mainly built with [Jekyll](https://jekyllrb.com/) ecosystem, [Bootstrap](https://getbootstrap.com/), [Font Awesome](https://fontawesome.com/) and some other wonderful tools (their copyright information can be found in the relevant files).
225
+ This theme is mainly built with [Jekyll](https://jekyllrb.com/) ecosystem, [Bootstrap](https://getbootstrap.com/), [Font Awesome](https://fontawesome.com/) and some other wonderful tools (their copyright information can be found in the relevant files). The avatar and favicon design comes from [Clipart Max](https://www.clipartmax.com/middle/m2i8b1m2K9Z5m2K9_ant-clipart-childrens-ant-cute/).
193
226
 
194
- :tada: Thanks to all the volunteers who contributed to this project, their GitHub IDs are on [this list](https://github.com/cotes2020/jekyll-theme-chirpy/graphs/contributors). Also, I won't forget those guys who submitted the issues or unmerged PR because they reported bugs, shared ideas or inspired me to write more readable documentation.
227
+ :tada: Thanks to all the volunteers who contributed to this project, their GitHub IDs are on [this list](https://github.com/cotes2020/jekyll-theme-chirpy/graphs/contributors). Also, I won't forget those guys who submitted the issues or unmerged PR because they reported bugs, shared ideas, or inspired me to write more readable documentation.
195
228
 
196
- Also, thank [JetBrains][jb] for providing the open source license.
229
+ Last but not least, thank [JetBrains][jb] for providing the open source license.
197
230
 
198
231
  ## Sponsoring
199
232
 
data/_config.yml CHANGED
@@ -7,14 +7,21 @@ theme: jekyll-theme-chirpy
7
7
  # change below value to '/projectname'.
8
8
  baseurl: ''
9
9
 
10
- # the HTML language tag https://www.w3.org/International/questions/qa-choosing-language-tags
11
- lang: en-US
10
+ # The language of the site layouthttp://www.lingoes.net/en/translator/langcode.htm
11
+ # Go to folder '_data/locales' to check the available language options
12
+ lang: en
13
+
14
+ # The lang attribute of HTML › http://www.lingoes.net/en/translator/langcode.htm
15
+ # We can specify a language different from the layout of the content.
16
+ # If it is not assigned, the site will use the value of 'lang' instead.
17
+ content_lang: ''
12
18
 
13
19
  # Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
14
20
  timezone: Asia/Shanghai
15
21
 
16
22
  # jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
17
- # --------------------------
23
+ # --------------------------
24
+
18
25
  title: Chirpy # the main title
19
26
 
20
27
  tagline: A text-focused Jekyll theme # it will display as the sub-title
@@ -47,18 +54,16 @@ social:
47
54
  # - https://www.linkedin.com/in/username
48
55
 
49
56
  google_site_verification: google_meta_tag_verification # change to your verification string
50
- # --------------------------
57
+
58
+ # ↑ --------------------------
59
+
51
60
 
52
61
  google_analytics:
53
- id: '' # Fill with your Google Analytics ID
62
+ id: '' # fill in your Google Analytics ID
63
+ # Google Analytics pageviews report settings
54
64
  pv:
55
- # The Google Analytics pageviews switch.
56
- # DO NOT enable it unless you know how to deploy the Google Analytics superProxy.
57
- enabled: false
58
- # the next options only valid when `google_analytics.pv` is enabled.
59
- proxy_url: ''
60
- proxy_endpoint: ''
61
- cache: false # pv data local cache, good for the users from GFW area.
65
+ proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
66
+ cache_path: # the local PV cache data, friendly to visitors from GFW region
62
67
 
63
68
  # Prefer color scheme setting.
64
69
  #
@@ -105,10 +110,6 @@ kramdown:
105
110
  line_numbers: true
106
111
  start_line: 1
107
112
 
108
- # DO NOT change this unless you're a Pro user on Jekyll and Web development,
109
- # Or you think you're smart enough to change other relevant URLs within this template.
110
- permalink: /posts/:title/
111
-
112
113
  collections:
113
114
  tabs:
114
115
  output: true
@@ -124,6 +125,9 @@ defaults:
124
125
  layout: post
125
126
  comments: true # Enable comments in posts.
126
127
  toc: true # Display TOC column in posts.
128
+ # DO NOT modify the following parameter unless you are confident enough
129
+ # to update the code of all other post links in this project.
130
+ permalink: /posts/:title/
127
131
  -
128
132
  scope:
129
133
  path: _drafts
@@ -151,9 +155,6 @@ compress_html:
151
155
  envs: [development]
152
156
 
153
157
  exclude:
154
- - vendor
155
- - Gemfile
156
- - Gemfile.lock
157
158
  - '*.gem'
158
159
  - '*.gemspec'
159
160
  - tools
@@ -162,8 +163,7 @@ exclude:
162
163
  - LICENSE
163
164
  - gulpfile.js
164
165
  - node_modules
165
- - package.json
166
- - package-lock.json
166
+ - '*.json'
167
167
 
168
168
  jekyll-archives:
169
169
  enabled: [categories, tags]
@@ -173,3 +173,6 @@ jekyll-archives:
173
173
  permalinks:
174
174
  tag: /tags/:name/
175
175
  category: /categories/:name/
176
+
177
+ # Outdated configuration warning
178
+ outdated: '-- Missing configuration options! --'
@@ -0,0 +1,87 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: Post
7
+ category: Category
8
+ tag: Tag
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: Home
14
+ categories: Categories
15
+ tags: Tags
16
+ archives: Archives
17
+ about: About
18
+
19
+ # text displayed in the search bar
20
+ search:
21
+ hint: search
22
+ cancel: Cancel
23
+
24
+ panel:
25
+ lastmod: Recent Update
26
+ trending_tags: Trending Tags
27
+ toc: Contents
28
+
29
+ # The liquid date format › http://strftime.net/
30
+ date_format:
31
+ tooltip: '%a, %b %e, %Y, %l:%M %p %z'
32
+ post:
33
+ long: '%b %e, %Y'
34
+ short: '%b %e'
35
+ archive_month: '%b'
36
+
37
+ copyright:
38
+ # Shown at the bottom of the post
39
+ license:
40
+ template: This post is licensed under :LICENSE_NAME by the author.
41
+ name: CC BY 4.0
42
+ link: https://creativecommons.org/licenses/by/4.0/
43
+
44
+ # Displayed in the footer
45
+ brief: Some rights reserved.
46
+ verbose: >-
47
+ Except where otherwise noted, the blog posts on this site are licensed
48
+ under the Creative Commons Attribution 4.0 International (CC BY 4.0) License by the author.
49
+
50
+ meta: Powered by :PLATFORM with :THEME theme.
51
+
52
+ not_found:
53
+ statment: Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
54
+ hint_template: :HEAD_BAK to try finding it again, or search for it on the :ARCHIVES_PAGE.
55
+ head_back: Head back Home
56
+ archives_page: Archives page
57
+
58
+ # ----- Posts related labels -----
59
+
60
+ post:
61
+ published: 'on'
62
+ updated: Updated
63
+ timeago:
64
+ day: d ago
65
+ hour: hr ago
66
+ minute: min ago
67
+ just_now: just now
68
+ words: words
69
+ pageview_measure: views
70
+ read_time:
71
+ unit: min
72
+ prompt: read
73
+ relate_posts: Further Reading
74
+ share: Share
75
+ button:
76
+ next: Newer
77
+ previous: Older
78
+ copy:
79
+ title: Copy link
80
+ succeed: Link copied successfully!
81
+ # pinned prompt of posts list on homepage
82
+ pin_prompt: Pinned
83
+
84
+ # categories page
85
+ categories:
86
+ category_measure: categories
87
+ post_measure: posts
@@ -0,0 +1,86 @@
1
+ # The layout text of site
2
+
3
+ # ----- Commons label -----
4
+
5
+ layout:
6
+ post: 文章
7
+ category: 分类
8
+ tag: 标签
9
+
10
+ # The tabs of sidebar
11
+ tabs:
12
+ # format: <filename_without_extension>: <value>
13
+ home: 首页
14
+ categories: 分类
15
+ tags: 标签
16
+ archives: 归档
17
+ about: 关于
18
+
19
+ # text displayed in the search bar
20
+ search:
21
+ hint: 搜索
22
+ cancel: 取消
23
+
24
+ panel:
25
+ lastmod: 最近更新
26
+ trending_tags: 热门标签
27
+ toc: 目录
28
+
29
+ # The liquid date format › http://strftime.net/
30
+ date_format:
31
+ tooltip: '%a, %F, %R %z'
32
+ post:
33
+ long: '%F'
34
+ short: '%m-%d'
35
+ archive_month: '%m月'
36
+
37
+ copyright:
38
+ # Shown at the bottom of the post
39
+ license:
40
+ template: 本文由作者按照 :LICENSE_NAME 进行授权
41
+ name: CC BY 4.0
42
+ link: https://creativecommons.org/licenses/by/4.0/
43
+
44
+ # Displayed in the footer
45
+ brief: 保留部分权利。
46
+ verbose: >-
47
+ 除非另有说明,本网站上的博客文章均由作者按照知识共享署名 4.0 国际 (CC BY 4.0) 许可协议进行授权。
48
+
49
+ meta: 本站由 :PLATFORM 生成,采用 :THEME 主题。
50
+
51
+ not_found:
52
+ statment: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。
53
+ hint_template: :HEAD_BAK尝试再次查找它,或在:ARCHIVES_PAGE上搜索它。
54
+ head_back: 返回主页
55
+ archives_page: 归档页面
56
+
57
+ # ----- Posts related labels -----
58
+
59
+ post:
60
+ published: 发表于
61
+ updated: 更新于
62
+ timeago:
63
+ day: 天前
64
+ hour: 小时前
65
+ minute: 分钟前
66
+ just_now: 刚刚
67
+ words: 字
68
+ pageview_measure: 次浏览
69
+ read_time:
70
+ unit: 分钟
71
+ prompt: 阅读
72
+ relate_posts: 相关文章
73
+ share: 分享
74
+ button:
75
+ next: 下一篇
76
+ previous: 上一篇
77
+ copy:
78
+ title: 分享链接
79
+ succeed: 链接已复制!
80
+ # pinned prompt of posts list on homepage
81
+ pin_prompt: 顶置
82
+
83
+ # categories page
84
+ categories:
85
+ category_measure: 个分类
86
+ post_measure: 篇文章