jekyll-theme-chirpy 4.3.4 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -162
  3. data/_config.yml +44 -18
  4. data/_data/assets/cross_origin.yml +62 -0
  5. data/_data/assets/self_host.yml +51 -0
  6. data/_data/locales/en.yml +3 -15
  7. data/_data/locales/id-ID.yml +2 -14
  8. data/_data/locales/ko-KR.yml +78 -0
  9. data/_data/locales/my-MM.yml +78 -0
  10. data/_data/locales/ru-RU.yml +78 -0
  11. data/_data/locales/uk-UA.yml +78 -0
  12. data/_data/locales/zh-CN.yml +2 -14
  13. data/_data/share.yml +1 -1
  14. data/_includes/assets-origin.html +12 -0
  15. data/_includes/{disqus.html → comments/disqus.html} +4 -4
  16. data/_includes/comments/giscus.html +56 -0
  17. data/_includes/comments/utterances.html +51 -0
  18. data/_includes/comments.html +5 -0
  19. data/_includes/footer.html +1 -1
  20. data/_includes/head.html +35 -20
  21. data/_includes/js-selector.html +43 -11
  22. data/_includes/jsdelivr-combine.html +32 -0
  23. data/_includes/mermaid.html +31 -3
  24. data/_includes/mode-toggle.html +49 -65
  25. data/_includes/post-sharing.html +2 -2
  26. data/_includes/read-time.html +3 -3
  27. data/_includes/refactor-content.html +160 -36
  28. data/_includes/related-posts.html +1 -1
  29. data/_includes/search-loader.html +1 -1
  30. data/_includes/search-results.html +0 -8
  31. data/_includes/sidebar.html +16 -17
  32. data/_includes/timeago.html +11 -23
  33. data/_includes/toc.html +16 -0
  34. data/_includes/topbar.html +2 -3
  35. data/_includes/trending-tags.html +14 -0
  36. data/_includes/update-list.html +16 -0
  37. data/_layouts/archives.html +5 -7
  38. data/_layouts/category.html +3 -5
  39. data/_layouts/default.html +10 -4
  40. data/_layouts/home.html +14 -11
  41. data/_layouts/page.html +47 -22
  42. data/_layouts/post.html +128 -127
  43. data/_layouts/tag.html +3 -5
  44. data/_sass/addon/commons.scss +276 -290
  45. data/_sass/addon/module.scss +67 -31
  46. data/_sass/addon/syntax.scss +90 -66
  47. data/_sass/addon/variables.scss +7 -7
  48. data/_sass/colors/dark-syntax.scss +4 -4
  49. data/_sass/colors/dark-typography.scss +21 -9
  50. data/_sass/colors/light-syntax.scss +9 -4
  51. data/_sass/colors/light-typography.scss +18 -6
  52. data/_sass/jekyll-theme-chirpy.scss +1 -1
  53. data/_sass/layout/home.scss +6 -2
  54. data/_sass/layout/post.scss +52 -46
  55. data/_tabs/about.md +2 -2
  56. data/assets/404.html +0 -2
  57. data/assets/js/data/search.json +1 -0
  58. data/assets/js/data/swcache.js +11 -20
  59. data/assets/js/dist/categories.min.js +2 -2
  60. data/assets/js/dist/commons.min.js +2 -2
  61. data/assets/js/dist/home.min.js +2 -2
  62. data/assets/js/dist/misc.min.js +6 -0
  63. data/assets/js/dist/page.min.js +2 -2
  64. data/assets/js/dist/post.min.js +2 -2
  65. data/assets/js/dist/pvreport.min.js +2 -2
  66. metadata +16 -6
  67. data/_includes/css-selector.html +0 -15
  68. data/_includes/no-zero-date.html +0 -13
  69. data/_includes/panel.html +0 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84da15ec26f1c010c572ffad9432e7ee31d240b4c5f66efd75170a71154f8a55
4
- data.tar.gz: 4544219edc1cddd512f0fefd6df495b579a36cd9183f38ef76f7180e8cb19631
3
+ metadata.gz: 043dfe3b5591aeeb77214df1a3ad42b1de715f1e9c9662ed00503ab7ff3ae72b
4
+ data.tar.gz: d665212495c2bc98abb48341a2d3e92f01caced260d14c0ef90286d8daffc2e0
5
5
  SHA512:
6
- metadata.gz: 976b0b643737a0b8856f06c734ec0ff68b499559711d0c53e9968ab5a72aa96534a89359ea731a307ab747df097140d164fcb13195d2facaa883d623cd9595bc
7
- data.tar.gz: a074361b2b18df79f4e30423f17403777cd244ac5d407092ac313325e690859151842847f02fc5f42a7b967870ff430fba2d2d0f1a233bdf89b78cfc2fefb34c
6
+ metadata.gz: 9b1f3a3f2798d51feb43c504b1d6d1da6d1a83e63daca6f64c60cb6beafef94cb11cc2643d412b830e6418a74141983b369482ad7a323f2fe17e809e96df6bb1
7
+ data.tar.gz: a9934d55bad3269de239e306096af0e6d744d064e3967e7e7d2c5357465e2b06371dda86f6caf022f66643521dd6e3fc84e51baf100dcfef7dff55d018621b99
data/README.md CHANGED
@@ -1,9 +1,3 @@
1
- <div align="right">
2
-
3
- EN / [中文](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/README.zh-CN.md)
4
-
5
- </div>
6
-
7
1
  <div align="center">
8
2
 
9
3
  # Chirpy Jekyll Theme
@@ -16,75 +10,41 @@
16
10
  [![GitHub license](https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy.svg)](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE)
17
11
  [![996.icu](https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg)](https://996.icu)
18
12
 
19
- [**Live Demo →**](https://chirpy.cotes.info)
13
+ [**Live Demo →**](https://cotes2020.github.io/chirpy-demo)
20
14
 
21
- [![Devices Mockup](https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images@0a003683c0c3ca549d12c309f9b3e03ea20981e5/commons/devices-mockup.png)](https://chirpy.cotes.info)
15
+ [![Devices Mockup](https://raw.githubusercontent.com/cotes2020/chirpy-images/main/commons/devices-mockup.png)](https://cotes2020.github.io/chirpy-demo)
22
16
 
23
17
  </div>
24
18
 
25
19
  ## Features
26
20
 
27
21
  - Localized Layout
28
- - Configurable Theme Mode
22
+ - Dark/Light Theme Mode
29
23
  - Pinned Posts
30
24
  - Hierarchical Categories
31
25
  - Last Modified Date for Posts
32
26
  - Table of Contents
33
- - Automatically Recommend Related Posts
27
+ - Auto-generated Related Posts
34
28
  - Syntax Highlighting
35
29
  - Mathematical Expressions
36
30
  - Mermaid Diagram & Flowchart
31
+ - Disqus/Utterances/Giscus Comments
37
32
  - Search
38
33
  - Atom Feeds
39
- - Disqus Comments
40
34
  - Google Analytics
41
- - GA Pageviews Reporting (Advanced)
35
+ - GA Pageviews Reporting
42
36
  - SEO & Performance Optimization
43
37
 
44
- ## Prerequisites
45
-
46
- Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of `Ruby`, `RubyGems`, `Jekyll`, and `Bundler`.
47
-
48
- ## Installation
49
-
50
- ### Creating a New Site
51
-
52
- There are two ways to create a new repository for this theme:
53
-
54
- - [**Using the Chirpy Starter**](#option-1-using-the-chirpy-starter) - Easy to upgrade, isolates irrelevant project files so you can focus on writing.
55
- - [**Forking on GitHub**](#option-2-forking-on-github) - Convenient for custom development, but difficult to upgrade. Unless you are familiar with Jekyll and are determined to tweak or contribute to this project, this approach is not recommended.
56
-
57
- #### Option 1. Using the Chirpy Starter
58
-
59
- Create a new repository from the [**Chirpy Starter**][use-starter] and name it `<GH_USERNAME>.github.io`, where `GH_USERNAME` represents your GitHub username.
60
-
61
- #### Option 2. Forking on GitHub
62
-
63
- [Fork **Chirpy**](https://github.com/cotes2020/jekyll-theme-chirpy/fork) on GitHub and rename it to `<GH_USERNAME>.github.io`. Please note that the default branch code is in development. If you want the site to be stable, please switch to the [latest tag][latest-tag] and start writing.
64
-
65
- And then execute:
66
-
67
- ```console
68
- $ bash tools/init.sh
69
- ```
70
38
 
71
- > **Note**: If you don't want to deploy your site on GitHub Pages, append option `--no-gh` at the end of the above command.
39
+ ## Quick Start
72
40
 
73
- The above command will:
41
+ Before starting, please follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of `Ruby`, `RubyGems`, `Jekyll`, and `Bundler`. In addition, [Git](https://git-scm.com/) is also required to be installed.
74
42
 
75
- 1. Removes some files or directories from your repository:
43
+ ### Step 1. Creating a New Site
76
44
 
77
- - `.travis.yml`
78
- - files under `_posts`
79
- - folder `docs`
45
+ Create a new repository from the [**Chirpy Starter**](https://github.com/cotes2020/chirpy-starter/generate) and name it `<GH_USERNAME>.github.io`, where `GH_USERNAME` represents your GitHub username.
80
46
 
81
- 2. If the option `--no-gh` is provided, the directory `.github` will be deleted. Otherwise, set up 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`.
82
-
83
- 3. Removes item `Gemfile.lock` from `.gitignore`.
84
-
85
- 4. Creates a new commit to save the changes automatically.
86
-
87
- ### Installing Dependencies
47
+ ### Step 2. Installing Dependencies
88
48
 
89
49
  Before running for the first time, go to the root directory of your site, and install dependencies as follows:
90
50
 
@@ -92,32 +52,15 @@ Before running for the first time, go to the root directory of your site, and in
92
52
  $ bundle
93
53
  ```
94
54
 
95
- ## Usage
96
-
97
- ### Configuration
98
-
99
- Update the variables of `_config.yml` as needed. Some of them are typical options:
100
-
101
- - `url`
102
- - `avatar`
103
- - `timezone`
104
- - `lang`
105
-
106
- ### Customing Stylesheet
107
-
108
- If you need to customize the 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.
55
+ ### Step 3. Running Local Server
109
56
 
110
- Starting from [`v4.1.0`][chirpy-4.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.
111
-
112
- ### Running Local Server
113
-
114
- You may want to preview the site contents before publishing, so just run it by:
57
+ Run the following command in the root directory of the site:
115
58
 
116
59
  ```console
117
60
  $ bundle exec jekyll s
118
61
  ```
119
62
 
120
- Or run the site on Docker with the following command:
63
+ Or run with Docker:
121
64
 
122
65
  ```console
123
66
  $ docker run -it --rm \
@@ -126,107 +69,29 @@ $ docker run -it --rm \
126
69
  jekyll serve
127
70
  ```
128
71
 
129
- After a while, the local service will be published at _<http://127.0.0.1:4000>_.
130
-
131
- ### Deployment
132
-
133
- Before the deployment begins, check out 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 starts with a slash, e.g, `/project-name`.
134
-
135
- Now you can choose ONE of the following methods to deploy your Jekyll site.
136
-
137
- #### Deploy by Using Github Actions
138
-
139
- For security reasons, GitHub Pages build runs on `safe` mode, which restricts us from using plugins to generate additional page files. Therefore, we can use **GitHub Actions** to build the site, store the built site files on a new branch, and use that branch as the source of the GitHub Pages service.
140
-
141
- Quickly check the files needed for GitHub Actions build:
142
-
143
- - Ensure your Jekyll site has the file `.github/workflows/pages-deploy.yml`. Otherwise, create a new one and fill in the contents of the [sample file][workflow], and the value of the `on.push.branches` should be the same as your repo's default branch name.
144
-
145
- - Ensure your Jekyll site has file `tools/deploy.sh`. Otherwise, copy it from here to your Jekyll site.
146
-
147
- - Furthermore, if you have committed `Gemfile.lock` to the repo, and your runtime system is not Linux, don't forget to update the platform list in the lock file:
148
-
149
- ```console
150
- $ bundle lock --add-platform x86_64-linux
151
- ```
152
-
153
- After the above steps, rename your repository to `<GH_USERNAME>.github.io` on GitHub.
154
-
155
- Now publish your Jekyll site by:
156
-
157
- 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.
158
-
159
- 2. Browse to your repository on GitHub. Select the tab _Settings_, then click _Pages_ in the left navigation bar, and then in the section **Source** of _GitHub Pages_, select the `/(root)` directory of branch `gh-pages` as the [publishing source][pages-src]. Remember to click <kbd>Save</kbd> before leaving.
160
-
161
- ![gh-pages-sources](https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images@0a003683c0c3ca549d12c309f9b3e03ea20981e5/posts/20190809/gh-pages-sources.png)
162
-
163
- 3. Visit your website at the address indicated by GitHub.
164
-
165
- #### Manually Build and Deploy
166
-
167
- On self-hosted servers, you cannot enjoy the convenience of **GitHub Actions**. Therefore, you should build the site on your local machine and then upload the site files to the server.
168
-
169
- Go to the root of the source project, and build your site as follows:
170
-
171
- ```console
172
- $ JEKYLL_ENV=production bundle exec jekyll b
173
- ```
174
-
175
- Or build the site on Docker:
176
-
177
- ```console
178
- $ docker run -it --rm \
179
- --env JEKYLL_ENV=production \
180
- --volume="$PWD:/srv/jekyll" \
181
- jekyll/jekyll \
182
- jekyll build
183
- ```
184
-
185
- Unless you specified the output path, the generated site files will be placed in folder `_site` of the project's root directory. Now you should upload those files to the target server.
186
-
187
- ### Upgrading
188
-
189
- It depends on how you use the theme:
190
-
191
- - If you are using the theme gem (there will be `gem "jekyll-theme-chirpy"` in the `Gemfile`), editing the `Gemfile` and update the version number of the theme gem, for example:
192
-
193
- ```diff
194
- - gem "jekyll-theme-chirpy", "~> 3.2", ">= 3.2.1"
195
- + gem "jekyll-theme-chirpy", "~> 3.3", ">= 3.3.0"
196
- ```
197
-
198
- And then execute the following command:
199
-
200
- ```console
201
- $ bundle update jekyll-theme-chirpy
202
- ```
203
-
204
- As the version upgrades, the critical files (for details, see the [Startup Template][starter]) and configuration options will change. Please refer to the [Upgrade Guide](https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide) to keep your repo's files in sync with the latest version of the theme.
205
-
206
- - If you forked from the source project (there will be `gemspec` in the `Gemfile` of your site), then merge the [latest upstream tags][latest-tag] into your Jekyll site to complete the upgrade.
207
- The merge is likely to conflict with your local modifications. Please be patient and careful to resolve these conflicts.
72
+ After a while, navigate to the site at <http://localhost:4000>.
208
73
 
209
74
  ## Documentation
210
75
 
211
- 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 are usually ahead of the documentation.
76
+ For more details on usage, please refer to the tutorial on the [demo website](https://cotes2020.github.io/chirpy-demo/) / [wiki](https://github.com/cotes2020/jekyll-theme-chirpy/wiki). Note that the tutorial is based on the [latest tag](https://github.com/cotes2020/jekyll-theme-chirpy/tags), and the features of the default branch are usually ahead of the documentation.
212
77
 
213
78
  ## Contributing
214
79
 
215
- The old saying, "Two heads are better than one." Consequently, welcome to report bugs, improve code quality or submit a new feature. For more information, see [contributing guidelines](.github/CONTRIBUTING.md).
80
+ Welcome to report bugs, improve code quality or submit a new feature. For more information, see [contributing guidelines](.github/CONTRIBUTING.md).
216
81
 
217
82
  ## Credits
218
83
 
219
84
  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 come from [Clipart Max](https://www.clipartmax.com/middle/m2i8b1m2K9Z5m2K9_ant-clipart-childrens-ant-cute/).
220
85
 
221
- :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.
86
+ :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.
222
87
 
223
- Last but not least, thank [JetBrains][jb] for providing the open source license.
88
+ Last but not least, thank [JetBrains][jb] for providing the OSS development license.
224
89
 
225
90
  ## Sponsoring
226
91
 
227
92
  If you like this theme or find it helpful, please consider sponsoring me, because it will encourage and help me better maintain the project, I will be very grateful!
228
93
 
229
- [![Buy Me a Coffee](https://img.shields.io/badge/-Buy%20Me%20a%20Coffee-ff813f?logo=buy-me-a-coffee&logoColor=white)](https://www.buymeacoffee.com/coteschung)
94
+ [![Ko-fi](https://img.shields.io/badge/-Buy%20Me%20a%20Coffee-ff5f5f?logo=ko-fi&logoColor=white)](https://ko-fi.com/coteschung)
230
95
  [![Wechat Pay](https://img.shields.io/badge/-Tip%20Me%20on%20WeChat-brightgreen?logo=wechat&logoColor=white)][cn-donation]
231
96
  [![Alipay](https://img.shields.io/badge/-Tip%20Me%20on%20Alipay-blue?logo=alipay&logoColor=white)][cn-donation]
232
97
 
@@ -234,13 +99,6 @@ If you like this theme or find it helpful, please consider sponsoring me, becaus
234
99
 
235
100
  This work is published under [MIT](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE) License.
236
101
 
237
- [starter]: https://github.com/cotes2020/chirpy-starter
238
- [use-starter]: https://github.com/cotes2020/chirpy-starter/generate
239
- [workflow]: https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/.github/workflows/pages-deploy.yml.hook
240
- [chirpy-4.1.0]: https://github.com/cotes2020/jekyll-theme-chirpy/releases/tag/v4.1.0
241
- [pages-src]: https://docs.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site
242
- [latest-tag]: https://github.com/cotes2020/jekyll-theme-chirpy/tags
243
-
244
102
  <!-- ReadMe links -->
245
103
 
246
104
  [jb]: https://www.jetbrains.com/?from=jekyll-theme-chirpy
data/_config.yml CHANGED
@@ -12,6 +12,9 @@ baseurl: ''
12
12
  # otherwise, the layout language will use the default value of 'en'.
13
13
  lang: en
14
14
 
15
+ # Additional parameters for datetime localization, optional. › https://github.com/iamkun/dayjs/tree/dev/src/locale
16
+ prefer_datetime_locale:
17
+
15
18
  # Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
16
19
  timezone: Asia/Shanghai
17
20
 
@@ -23,9 +26,7 @@ title: Chirpy # the main title
23
26
  tagline: A text-focused Jekyll theme # it will display as the sub-title
24
27
 
25
28
  description: >- # used by seo meta and the atom feed
26
- A minimal, portfolio, sidebar,
27
- bootstrap Jekyll theme with responsive web design
28
- and focuses on text presentation.
29
+ A minimal, responsive, and powerful Jekyll theme for presenting professional writing.
29
30
 
30
31
  # fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
31
32
  url: ''
@@ -49,13 +50,13 @@ social:
49
50
  # - https://www.facebook.com/username
50
51
  # - https://www.linkedin.com/in/username
51
52
 
52
- google_site_verification: google_meta_tag_verification # change to your verification string
53
+ google_site_verification: # fill in to your verification string
53
54
 
54
55
  # ↑ --------------------------
55
-
56
+ # The end of `jekyll-seo-tag` settings
56
57
 
57
58
  google_analytics:
58
- id: '' # fill in your Google Analytics ID
59
+ id: # fill in your Google Analytics ID
59
60
  # Google Analytics pageviews report settings
60
61
  pv:
61
62
  proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
@@ -87,9 +88,32 @@ avatar:
87
88
  # boolean type, the global switch for ToC in posts.
88
89
  toc: true
89
90
 
90
- disqus:
91
- comments: false # boolean type, the global switch for posts comments.
92
- shortname: '' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
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]
93
117
 
94
118
  paginate: 10
95
119
 
@@ -111,10 +135,8 @@ collections:
111
135
  output: true
112
136
  sort_by: order
113
137
 
114
-
115
138
  defaults:
116
- -
117
- scope:
139
+ - scope:
118
140
  path: '' # An empty string here means all files in the project
119
141
  type: posts
120
142
  values:
@@ -124,19 +146,24 @@ defaults:
124
146
  # DO NOT modify the following parameter unless you are confident enough
125
147
  # to update the code of all other post links in this project.
126
148
  permalink: /posts/:title/
127
- -
128
- scope:
149
+ - scope:
129
150
  path: _drafts
130
151
  values:
131
152
  comments: false
132
- -
133
- scope:
153
+ - scope:
134
154
  path: ''
135
155
  type: tabs # see `site.collections`
136
156
  values:
137
157
  layout: page
138
158
  permalink: /:title/
139
- dynamic_title: true # Hide title in mobile screens.
159
+ - scope:
160
+ path: assets/img/favicons
161
+ values:
162
+ swcache: true
163
+ - scope:
164
+ path: assets/js/dist
165
+ values:
166
+ swcache: true
140
167
 
141
168
  sass:
142
169
  style: compressed
@@ -154,7 +181,6 @@ exclude:
154
181
  - '*.gem'
155
182
  - '*.gemspec'
156
183
  - tools
157
- - docs
158
184
  - README.md
159
185
  - LICENSE
160
186
  - gulpfile.js
@@ -0,0 +1,62 @@
1
+ # CDNs
2
+
3
+ cdns:
4
+ # Google Fonts
5
+ - url: https://fonts.googleapis.com
6
+ - url: https://fonts.gstatic.com
7
+ args: crossorigin
8
+ - url: https://fonts.googleapis.com
9
+ # jsDelivr CDN
10
+ - url: https://cdn.jsdelivr.net
11
+
12
+ # fonts
13
+
14
+ webfonts: https://fonts.googleapis.com/css2?family=Lato&family=Source+Sans+Pro:wght@400;600;700;900&display=swap
15
+
16
+ # Libraries
17
+
18
+ jquery:
19
+ js: https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js
20
+
21
+ bootstrap:
22
+ css: https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css
23
+ js: https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.bundle.min.js
24
+
25
+ bootstrap-toc:
26
+ css: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.css
27
+ js: https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.js
28
+
29
+ fontawesome:
30
+ css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.11.2/css/all.min.css
31
+
32
+ search:
33
+ js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js
34
+
35
+ mermaid:
36
+ js: https://cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js
37
+
38
+ dayjs:
39
+ js:
40
+ common: https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js
41
+ locale: https://cdn.jsdelivr.net/npm/dayjs@1/locale/:LOCALE.min.js
42
+ relativeTime: https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.min.js
43
+ localizedFormat: https://cdn.jsdelivr.net/npm/dayjs@1/plugin/localizedFormat.min.js
44
+
45
+ countup:
46
+ js: https://cdn.jsdelivr.net/npm/countup.js@1.9.3/dist/countUp.min.js
47
+
48
+ magnific-popup:
49
+ css: https://cdn.jsdelivr.net/npm/magnific-popup@1/dist/magnific-popup.min.css
50
+ js: https://cdn.jsdelivr.net/npm/magnific-popup@1/dist/jquery.magnific-popup.min.js
51
+
52
+ lozad:
53
+ js: https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js
54
+
55
+ clipboard:
56
+ js: https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js
57
+
58
+ polyfill:
59
+ js: https://polyfill.io/v3/polyfill.min.js?features=es6
60
+
61
+ mathjax:
62
+ js: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js
@@ -0,0 +1,51 @@
1
+ # fonts
2
+
3
+ webfonts: /assets/lib/fonts/main.css
4
+
5
+ # Libraries
6
+
7
+ jquery:
8
+ js: /assets/lib/jquery-3.6.0/jquery.min.js
9
+
10
+ bootstrap:
11
+ css: /assets/lib/bootstrap-4.6.1/bootstrap.min.css
12
+ js: /assets/lib/bootstrap-4.6.1/bootstrap.bundle.min.js
13
+
14
+ bootstrap-toc:
15
+ css: /assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.css
16
+ js: /assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.js
17
+
18
+ fontawesome:
19
+ css: /assets/lib/fontawesome-free-5.15.4/css/all.min.css
20
+
21
+ search:
22
+ js: /assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js
23
+
24
+ mermaid:
25
+ js: /assets/lib/mermaid-8.13.10/mermaid.min.js
26
+
27
+ dayjs:
28
+ js:
29
+ common: /assets/lib/dayjs-1.10.7/dayjs.min.js
30
+ locale: /assets/lib/dayjs-1.10.7/locale/en.min.js
31
+ relativeTime: /assets/lib/dayjs-1.10.7/plugin/relativeTime.min.js
32
+ localizedFormat: /assets/lib/dayjs-1.10.7/plugin/localizedFormat.min.js
33
+
34
+ countup:
35
+ js: /assets/lib/countup.js-1.9.3/countUp.min.js
36
+
37
+ magnific-popup:
38
+ css: /assets/lib/magnific-popup-1.1.0/magnific-popup.css
39
+ js: /assets/lib/magnific-popup-1.1.0/jquery.magnific-popup.min.js
40
+
41
+ lozad:
42
+ js: /assets/lib/lozad-1.16.0/lozad.min.js
43
+
44
+ clipboard:
45
+ js: /assets/lib/clipboard-2.0.9/clipboard.min.js
46
+
47
+ polyfill:
48
+ js: /assets/lib/polyfill-v3-es6/polyfill.min.js
49
+
50
+ mathjax:
51
+ js: /assets/lib/mathjax-3.2.0/tex-chtml.js
data/_data/locales/en.yml CHANGED
@@ -23,18 +23,10 @@ search:
23
23
  no_results: Oops! No result founds.
24
24
 
25
25
  panel:
26
- lastmod: Recent Update
26
+ lastmod: Recently Updated
27
27
  trending_tags: Trending Tags
28
28
  toc: Contents
29
29
 
30
- # The liquid date format › http://strftime.net/
31
- date_format:
32
- tooltip: '%a, %b %e, %Y, %l:%M %p %z'
33
- post:
34
- long: '%b %e, %Y'
35
- short: '%b %e'
36
- archive_month: '%b'
37
-
38
30
  copyright:
39
31
  # Shown at the bottom of the post
40
32
  license:
@@ -59,13 +51,9 @@ not_found:
59
51
  # ----- Posts related labels -----
60
52
 
61
53
  post:
62
- published: 'on'
54
+ written_by: By
55
+ posted: Posted
63
56
  updated: Updated
64
- timeago:
65
- day: days ago
66
- hour: hours ago
67
- minute: minutes ago
68
- just_now: just now
69
57
  words: words
70
58
  pageview_measure: views
71
59
  read_time:
@@ -27,14 +27,6 @@ panel:
27
27
  trending_tags: Tagar Terpopuler
28
28
  toc: Konten
29
29
 
30
- # The liquid date format › http://strftime.net/
31
- date_format:
32
- tooltip: "%a, %e %b, %Y, %l:%M %p"
33
- post:
34
- long: "%e %b, %Y"
35
- short: "%e %b"
36
- archive_month: "%b"
37
-
38
30
  copyright:
39
31
  # Shown at the bottom of the post
40
32
  license:
@@ -59,13 +51,9 @@ not_found:
59
51
  # ----- Posts related labels -----
60
52
 
61
53
  post:
62
- published: "pada"
54
+ written_by: Oleh
55
+ posted: Diterbitkan
63
56
  updated: Diperbarui
64
- timeago:
65
- day: hari yang lalu
66
- hour: jam yang lalu
67
- minute: menit yang lalu
68
- just_now: baru saja
69
57
  words: kata
70
58
  pageview_measure: dilihat
71
59
  read_time:
@@ -0,0 +1,78 @@
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
+ # the text displayed in the search bar & search results
20
+ search:
21
+ hint: 검색
22
+ cancel: 취소
23
+ no_results: 검색 결과가 없습니다.
24
+
25
+ panel:
26
+ lastmod: 최근 업데이트
27
+ trending_tags: 인기 태그
28
+ toc: 바로가기
29
+
30
+ copyright:
31
+ # Shown at the bottom of the post
32
+ license:
33
+ template: 이 기사는 저작권자의 :LICENSE_NAME 라이센스를 따릅니다.
34
+ name: CC BY 4.0
35
+ link: https://creativecommons.org/licenses/by/4.0/
36
+
37
+ # Displayed in the footer
38
+ brief: 일부 권리 보유
39
+ verbose: >-
40
+ 명시되지 않는 한 이 사이트의 블로그 게시물은 작성자의
41
+ Creative Commons Attribution 4.0 International(CC BY 4.0) 라이선스에 따라 사용이 허가되었습니다.
42
+
43
+ meta: Powered by :PLATFORM with :THEME theme.
44
+
45
+ not_found:
46
+ statment: 해당 URL은 존재하지 않습니다.
47
+ hint_template: :HEAD_BAK을 눌러 다시 찾거나 :ARCHIVES_PAGE에서 검색해 주세요.
48
+ head_back: 홈으로 돌아가기
49
+ archives_page: 아카이브 페이지
50
+
51
+ # ----- Posts related labels -----
52
+
53
+ post:
54
+ written_by: By
55
+ posted: 게시
56
+ updated: 업데이트
57
+ words: 단어
58
+ pageview_measure: 조회
59
+ read_time:
60
+ unit: 분
61
+ prompt: 읽는 시간
62
+ relate_posts: 관련된 글
63
+ share: 공유하기
64
+ button:
65
+ next: 다음 글
66
+ previous: 이전 글
67
+ copy_code:
68
+ succeed: 복사되었습니다!
69
+ share_link:
70
+ title: 링크 복사하기
71
+ succeed: 링크가 복사되었습니다!
72
+ # pinned prompt of posts list on homepage
73
+ pin_prompt: 핀
74
+
75
+ # categories page
76
+ categories:
77
+ category_measure: 카테고리
78
+ post_measure: 포스트