jekyll-text-theme-fork 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +235 -0
  3. data/LICENSE +21 -0
  4. data/README.md +89 -0
  5. data/_data/authors.yml +0 -0
  6. data/_data/licenses.yml +16 -0
  7. data/_data/locale.yml +169 -0
  8. data/_data/navigation.yml +52 -0
  9. data/_data/variables.yml +64 -0
  10. data/_includes/analytics-providers/custom.html +3 -0
  11. data/_includes/analytics-providers/google.html +14 -0
  12. data/_includes/analytics.html +7 -0
  13. data/_includes/article/footer/author-profile.html +47 -0
  14. data/_includes/article/footer/custom.html +3 -0
  15. data/_includes/article/footer/license.html +14 -0
  16. data/_includes/article/footer/subscribe.html +6 -0
  17. data/_includes/article/top/custom.html +3 -0
  18. data/_includes/article-footer.html +55 -0
  19. data/_includes/article-header.html +49 -0
  20. data/_includes/article-info.html +96 -0
  21. data/_includes/article-list.html +144 -0
  22. data/_includes/article-section-navigator.html +54 -0
  23. data/_includes/aside/toc.html +1 -0
  24. data/_includes/author-links.html +120 -0
  25. data/_includes/comments-providers/custom.html +3 -0
  26. data/_includes/comments-providers/disqus.html +22 -0
  27. data/_includes/comments-providers/gitalk.html +39 -0
  28. data/_includes/comments-providers/valine.html +46 -0
  29. data/_includes/comments.html +11 -0
  30. data/_includes/extensions/bilibili.html +5 -0
  31. data/_includes/extensions/codepen.html +4 -0
  32. data/_includes/extensions/netease-cloud-music.html +4 -0
  33. data/_includes/extensions/slideshare.html +6 -0
  34. data/_includes/extensions/soundcloud.html +4 -0
  35. data/_includes/extensions/ted.html +5 -0
  36. data/_includes/extensions/youtube.html +4 -0
  37. data/_includes/footer.html +37 -0
  38. data/_includes/head/custom.html +3 -0
  39. data/_includes/head/favicon.html +26 -0
  40. data/_includes/head.html +24 -0
  41. data/_includes/header.html +44 -0
  42. data/_includes/main/bottom/custom.html +3 -0
  43. data/_includes/main/top/custom.html +3 -0
  44. data/_includes/markdown-enhancements/chart.html +15 -0
  45. data/_includes/markdown-enhancements/mathjax.html +17 -0
  46. data/_includes/markdown-enhancements/mermaid.html +10 -0
  47. data/_includes/markdown-enhancements.html +17 -0
  48. data/_includes/pageview-providers/custom/home.html +3 -0
  49. data/_includes/pageview-providers/custom/post.html +3 -0
  50. data/_includes/pageview-providers/leancloud/home.html +35 -0
  51. data/_includes/pageview-providers/leancloud/leancloud.js +72 -0
  52. data/_includes/pageview-providers/leancloud/post.html +31 -0
  53. data/_includes/pageview.html +29 -0
  54. data/_includes/paginator.html +98 -0
  55. data/_includes/scripts/archieve.js +135 -0
  56. data/_includes/scripts/article.js +24 -0
  57. data/_includes/scripts/aside/affix.js +26 -0
  58. data/_includes/scripts/aside/toc.js +35 -0
  59. data/_includes/scripts/common.js +7 -0
  60. data/_includes/scripts/components/lightbox.js +49 -0
  61. data/_includes/scripts/components/search.js +86 -0
  62. data/_includes/scripts/components/sidebar.js +30 -0
  63. data/_includes/scripts/home.js +3 -0
  64. data/_includes/scripts/lib/affix.js +111 -0
  65. data/_includes/scripts/lib/gallery.js +192 -0
  66. data/_includes/scripts/lib/lazyload.js +143 -0
  67. data/_includes/scripts/lib/modal.js +64 -0
  68. data/_includes/scripts/lib/scroll-to.js +13 -0
  69. data/_includes/scripts/lib/swiper.js +203 -0
  70. data/_includes/scripts/lib/throttle.js +28 -0
  71. data/_includes/scripts/lib/toc.js +107 -0
  72. data/_includes/scripts/page.js +3 -0
  73. data/_includes/scripts/utils/imagesLoad.js +28 -0
  74. data/_includes/scripts/utils/utils.js +39 -0
  75. data/_includes/scripts/variables.html +35 -0
  76. data/_includes/search-providers/custom/search.html +3 -0
  77. data/_includes/search-providers/default/search-data.js +14 -0
  78. data/_includes/search-providers/default/search.html +18 -0
  79. data/_includes/search-providers/default/search.js +112 -0
  80. data/_includes/search-providers/google-custom-search-engine/search.html +21 -0
  81. data/_includes/search-providers/google-custom-search-engine/search.js +33 -0
  82. data/_includes/search.html +20 -0
  83. data/_includes/sharing-providers/addthis.html +9 -0
  84. data/_includes/sharing-providers/addtoany.html +10 -0
  85. data/_includes/sharing-providers/custom.html +3 -0
  86. data/_includes/sharing.html +7 -0
  87. data/_includes/sidebar/toc.html +25 -0
  88. data/_includes/snippets/assign.html +9 -0
  89. data/_includes/snippets/get-article-title.html +11 -0
  90. data/_includes/snippets/get-lang.html +6 -0
  91. data/_includes/snippets/get-locale-string.html +12 -0
  92. data/_includes/snippets/get-nav-url.html +8 -0
  93. data/_includes/snippets/get-sources.html +2 -0
  94. data/_includes/snippets/get-string-from-locale-config.html +7 -0
  95. data/_includes/snippets/is_collection.html +6 -0
  96. data/_includes/snippets/page-url.html +2 -0
  97. data/_includes/snippets/prepend-baseurl.html +4 -0
  98. data/_includes/snippets/prepend-path.html +1 -0
  99. data/_includes/svg/icon/social/behance.svg +3 -0
  100. data/_includes/svg/icon/social/douban.svg +5 -0
  101. data/_includes/svg/icon/social/facebook.svg +3 -0
  102. data/_includes/svg/icon/social/flicker.svg +5 -0
  103. data/_includes/svg/icon/social/github.svg +3 -0
  104. data/_includes/svg/icon/social/googleplus.svg +3 -0
  105. data/_includes/svg/icon/social/linkedin.svg +3 -0
  106. data/_includes/svg/icon/social/mail.svg +6 -0
  107. data/_includes/svg/icon/social/medium.svg +3 -0
  108. data/_includes/svg/icon/social/npm.svg +9 -0
  109. data/_includes/svg/icon/social/pinterest.svg +3 -0
  110. data/_includes/svg/icon/social/qq.svg +3 -0
  111. data/_includes/svg/icon/social/telegram.svg +4 -0
  112. data/_includes/svg/icon/social/twitter.svg +3 -0
  113. data/_includes/svg/icon/social/weibo.svg +6 -0
  114. data/_includes/svg/icon/social/weixin.svg +3 -0
  115. data/_includes/svg/icon/social/zhihu.svg +3 -0
  116. data/_includes/svg/logo.svg +8 -0
  117. data/_includes/tags.html +52 -0
  118. data/_layouts/404.html +13 -0
  119. data/_layouts/archive.html +40 -0
  120. data/_layouts/article.html +29 -0
  121. data/_layouts/articles.html +89 -0
  122. data/_layouts/base.html +25 -0
  123. data/_layouts/home.html +43 -0
  124. data/_layouts/landing.html +178 -0
  125. data/_layouts/none.html +1 -0
  126. data/_layouts/page.html +270 -0
  127. data/_sass/additional/_alert.scss +29 -0
  128. data/_sass/additional/_photo-frame.scss +17 -0
  129. data/_sass/additional/_tag.scss +21 -0
  130. data/_sass/animate/_fade-in-down.scss +10 -0
  131. data/_sass/animate/_fade-in-up.scss +10 -0
  132. data/_sass/animate/_fade-in.scss +8 -0
  133. data/_sass/common/_classes.scss +24 -0
  134. data/_sass/common/_function.scss +15 -0
  135. data/_sass/common/_print.scss +20 -0
  136. data/_sass/common/_reset.scss +174 -0
  137. data/_sass/common/_variables.scss +150 -0
  138. data/_sass/common/classes/_animation.scss +13 -0
  139. data/_sass/common/classes/_clearfix.scss +19 -0
  140. data/_sass/common/classes/_clickable.scss +159 -0
  141. data/_sass/common/classes/_display.scss +13 -0
  142. data/_sass/common/classes/_flex.scss +394 -0
  143. data/_sass/common/classes/_grid.scss +80 -0
  144. data/_sass/common/classes/_horizontal-rules.scss +14 -0
  145. data/_sass/common/classes/_link.scss +12 -0
  146. data/_sass/common/classes/_media.scss +17 -0
  147. data/_sass/common/classes/_overflow.scss +26 -0
  148. data/_sass/common/classes/_pseudo.scss +33 -0
  149. data/_sass/common/classes/_shadow.scss +22 -0
  150. data/_sass/common/classes/_spacing.scss +81 -0
  151. data/_sass/common/classes/_split-line.scss +24 -0
  152. data/_sass/common/classes/_text.scss +37 -0
  153. data/_sass/common/classes/_transform.scss +4 -0
  154. data/_sass/common/classes/_transition.scss +4 -0
  155. data/_sass/common/classes/_user-select.scss +6 -0
  156. data/_sass/common/components/_button.scss +163 -0
  157. data/_sass/common/components/_card.scss +103 -0
  158. data/_sass/common/components/_gallery.scss +21 -0
  159. data/_sass/common/components/_hero.scss +70 -0
  160. data/_sass/common/components/_image.scss +19 -0
  161. data/_sass/common/components/_item.scss +100 -0
  162. data/_sass/common/components/_menu.scss +67 -0
  163. data/_sass/common/components/_modal.scss +39 -0
  164. data/_sass/common/components/_swiper.scss +48 -0
  165. data/_sass/common/components/_toc.scss +124 -0
  166. data/_sass/components/_article-content.scss +221 -0
  167. data/_sass/components/_article-footer.scss +17 -0
  168. data/_sass/components/_article-header.scss +50 -0
  169. data/_sass/components/_article-info.scss +25 -0
  170. data/_sass/components/_article-list.scss +18 -0
  171. data/_sass/components/_author-links.scss +43 -0
  172. data/_sass/components/_author-profile.scss +26 -0
  173. data/_sass/components/_extensions.scss +35 -0
  174. data/_sass/components/_footer.scss +33 -0
  175. data/_sass/components/_header.scss +123 -0
  176. data/_sass/components/_lightbox.scss +7 -0
  177. data/_sass/components/_main.scss +28 -0
  178. data/_sass/components/_search.scss +186 -0
  179. data/_sass/components/_tags.scss +24 -0
  180. data/_sass/custom.scss +3 -0
  181. data/_sass/layout/_404.scss +14 -0
  182. data/_sass/layout/_archive.scss +5 -0
  183. data/_sass/layout/_article.scss +29 -0
  184. data/_sass/layout/_articles.scss +17 -0
  185. data/_sass/layout/_base.scss +6 -0
  186. data/_sass/layout/_home.scss +15 -0
  187. data/_sass/layout/_landing.scss +23 -0
  188. data/_sass/layout/_page.scss +165 -0
  189. data/_sass/skins/_chocolate.scss +74 -0
  190. data/_sass/skins/_dark.scss +74 -0
  191. data/_sass/skins/_default.scss +74 -0
  192. data/_sass/skins/_forest.scss +74 -0
  193. data/_sass/skins/_ocean.scss +74 -0
  194. data/_sass/skins/_orange.scss +74 -0
  195. data/_sass/skins/highlight/_default.scss +0 -0
  196. data/_sass/skins/highlight/_tomorrow-night-blue.scss +2 -0
  197. data/_sass/skins/highlight/_tomorrow-night-bright.scss +2 -0
  198. data/_sass/skins/highlight/_tomorrow-night-eighties.scss +2 -0
  199. data/_sass/skins/highlight/_tomorrow-night.scss +2 -0
  200. data/_sass/skins/highlight/_tomorrow.scss +2 -0
  201. data/_sass/skins/highlight/tomorrow/_default.scss +10 -0
  202. data/_sass/skins/highlight/tomorrow/_highlight.scss +74 -0
  203. data/_sass/skins/highlight/tomorrow/_night-blue.scss +10 -0
  204. data/_sass/skins/highlight/tomorrow/_night-bright.scss +10 -0
  205. data/_sass/skins/highlight/tomorrow/_night-eighties.scss +10 -0
  206. data/_sass/skins/highlight/tomorrow/_night.scss +10 -0
  207. data/assets/android-chrome-192x192.png +0 -0
  208. data/assets/android-chrome-512x512.png +0 -0
  209. data/assets/apple-touch-icon.png +0 -0
  210. data/assets/browserconfig.xml +9 -0
  211. data/assets/css/main.scss +74 -0
  212. data/assets/favicon-16x16.png +0 -0
  213. data/assets/favicon-32x32.png +0 -0
  214. data/assets/favicon.ico +0 -0
  215. data/assets/images/logo/logo.svg +8 -0
  216. data/assets/mstile-144x144.png +0 -0
  217. data/assets/mstile-150x150.png +0 -0
  218. data/assets/mstile-310x150.png +0 -0
  219. data/assets/mstile-310x310.png +0 -0
  220. data/assets/mstile-70x70.png +0 -0
  221. data/assets/safari-pinned-tab.svg +38 -0
  222. data/assets/search.js +3 -0
  223. data/assets/site.webmanifest +19 -0
  224. metadata +371 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1151259ebbf366283845eeb4f2546df266ea6c6dc5ce106fee1f5598d2038551
4
+ data.tar.gz: 3e5fb3f148f245967971d88fe7aeea0b8e9cf888d6007a1824366e547999e746
5
+ SHA512:
6
+ metadata.gz: c63774f785778fb0f5e0d585ddaf1d5bbb5a4b71a32aea4e5c703bc1db73d326f9490cc7eb04a9dc6268e7af909d211e8a89e76520182f6ac9e19f40b4d78712
7
+ data.tar.gz: 28be683789dd365c8254b62af8c8a8c6fe1b34bd61232fba33ff9392711889a2b401df4a7c1a60c950da96d07559ca4e323d924798f04701355975cdf9e6325b
data/CHANGELOG.md ADDED
@@ -0,0 +1,235 @@
1
+ # Change Log
2
+
3
+ ## 2.2.6 (2019-02-02)
4
+
5
+ ### Enhancements
6
+
7
+ - Add [commit linter](https://commitlint.js.org/)
8
+ - Add [EditorConfig](https://editorconfig.org/)
9
+ - Update npm packages
10
+
11
+ ### Bug Fixes
12
+
13
+ - Fix some spelling errors in documents
14
+ - Fix some errors in configs
15
+
16
+ ## 2.2.5 (2019-12-08)
17
+
18
+ ### Enhancements
19
+
20
+ - Update to Jekyll 4.0
21
+ - Add custom snippets for main/top, main/bottom, article/top, article/bottom, etc
22
+ - Add Medium, Zhihu social icons
23
+ - Add Google Custom Search support
24
+ - Add Korean locale (@ssosso)
25
+ - Add French locale (@ctrl-q)
26
+ - Add Docker support
27
+
28
+ ## 2.2.4 (2018-12-10)
29
+
30
+ ### Enhancements
31
+
32
+ - Swiper component support mouse move
33
+ - Add lightbox (modal image gallery)
34
+ - Add Valine comment system (@Lloyar)
35
+
36
+ ### Bug Fixes
37
+
38
+ - Fix some spelling errors in documents (@Krinkle)
39
+
40
+ ## 2.2.3 (2018-11-11)
41
+
42
+ ### Enhancements
43
+
44
+ - Add Swiper component
45
+ - Add AddThis sharing service (@liao961120)
46
+ - Add extensions for demos (CodePen)
47
+ - Add special stylesheets for print
48
+
49
+ ## 2.2.2 (2018-10-21)
50
+
51
+ ### Enhancements
52
+
53
+ - Add extensions for audios (SoundCloud, Netease Cloud Music), videos (YouTube, TED, bilibili) and slide(SlideShare)
54
+ - Add AddToAny sharing service
55
+
56
+ ## 2.2.1 (2018-10-02)
57
+
58
+ ### Enhancements
59
+
60
+ - Update screenshots
61
+ - Landing layout `data.sections` item's `image` add `full_width` setting
62
+ - Remove `header.type` and add `header.background` setting
63
+ - Page layout sidebar use document scroll when viewport width < 1024px, this enhance the user experience on a phone or a pad
64
+ - Telegram social icon (@WangQiru)
65
+ - Search panel use dark background
66
+
67
+ ## 2.2.0 (2018-09-16)
68
+
69
+ ### Enhancements
70
+
71
+ - `article_header` setting for page layout
72
+ - Articles layout
73
+ - New grid system
74
+ - Image, card, item and hero components
75
+ - Tag additional style
76
+ - chart.js update to 2.7.2, mathjax update to 2.7.4 and mermaid update to 8.0.0-rc.8
77
+
78
+ ### Bug Fixes
79
+
80
+ - Replace Lenna test image
81
+
82
+ ## 2.1.0 (2018-08-26)
83
+
84
+ ### Enhancements
85
+
86
+ - Search panel (Click search icon in the header or press `s` or `/` key to search)
87
+ - Npm social icon (@WangQiru)
88
+
89
+ ### Bug Fixes
90
+
91
+ - Google analytics may not work, use gtag.js
92
+
93
+ ## 2.0.2 (2018-07-29)
94
+
95
+ ### Enhancements
96
+
97
+ - Highlight theme
98
+ - Articles whit `sidebar.toc` support section navigator (previous and next navigator)
99
+ - Aside Toc show immediately after page get ready (no more delay)
100
+
101
+ ### Bug Fixes
102
+
103
+ - Aside Toc may display error when scroll to bottom
104
+
105
+ ## 2.0.1 (2018-07-07)
106
+
107
+ > “All elements that respond to press should have a visual feedback when touched.”
108
+ >
109
+ > —TouchableWithoutFeedback in *React Native Docs*
110
+
111
+ ### Enhancements
112
+
113
+ - Some interaction details optimize: button and link add feedback when clicked, cancel button of input in archive layout, button focus style, etc
114
+
115
+ ### Bug Fixes
116
+
117
+ - `mathjax` and `mermaid` setting may not work
118
+
119
+ ## 2.0.0 (2018-07-01)
120
+
121
+ Breaking changes, please check [Update from 1.x to 2.x](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/update-from-1-to-2) for details
122
+
123
+ ### Enhancements
124
+
125
+ - Authors
126
+ - License
127
+ - New layouts (page, article, landing, etc)
128
+
129
+ ## 1.5.0 (2018-03-18)
130
+
131
+ ### Enhancements
132
+
133
+ - `text_color_theme` setting
134
+ - Long pagination
135
+ - Additional styles (Alert, Image)
136
+ - Mathjax `autoNumber` setting (@liao961120)
137
+ - Article heading anchor
138
+ - Previous and next post
139
+ - Search
140
+
141
+ ## 1.4.3 (2018-01-13)
142
+
143
+ ### Enhancements
144
+
145
+ - New TOC style
146
+ - Gitalk support (@WangQiru)
147
+ - Mermaid support
148
+ - `site.paths` and `site.nav_lists` configs support absolute URL
149
+
150
+ ## 1.4.2 (2017-12-10)
151
+
152
+ ### Enhancements
153
+
154
+ - Use new liquid syntax `{%-` `-%}` to avoid unnecessary output whitespace
155
+ - Add `paths.base` setting
156
+
157
+ ## 1.4.1 (2017-12-05)
158
+
159
+ ### Enhancements
160
+
161
+ - New color themes(Chocolate, Orange)
162
+
163
+ ### Bug Fixes
164
+
165
+ - Issues 9: the _posts file can't recorded by git
166
+
167
+ ## 1.4.0 (2017-11-19)
168
+
169
+ ### Enhancements
170
+
171
+ - Internationalization
172
+
173
+ ### Bug Fixes
174
+
175
+ - Table overflow-x smooth on iOS
176
+
177
+ ## 1.3.0 (2017-11-11)
178
+
179
+ ### Enhancements
180
+
181
+ - Article tag supports special characters
182
+ - Excerpts type (HTML | TEXT)
183
+ - Titles on the phone become smaller
184
+ - Change styles for table, code and blockquote
185
+
186
+ ## 1.2.2 (2017-11-04)
187
+
188
+ ### Enhancements
189
+
190
+ - MathJax Support
191
+ - Add “Read more” link at the end of article excerpt
192
+ - 404 page
193
+
194
+ ### Bug Fixes
195
+
196
+ - Fix Email link URL error
197
+ - Fix Site Title link URL error
198
+ - Fix table responsive style error
199
+
200
+ ## 1.2.1 (2017-10-27)
201
+
202
+ ### Enhancements
203
+
204
+ - Optimize Article TOC
205
+
206
+ ### Bug Fixes
207
+
208
+ - Pageview display error when the post key include `-` (@yuxianda)
209
+ - Email url error
210
+
211
+ ## 1.2.0 (2017-10-22)
212
+
213
+ ### Enhancements
214
+
215
+ - Article excerpt no more than 200 words
216
+ - If `leancloud` is not set, 0 view won't display
217
+
218
+ ### Bug Fixes
219
+
220
+ - Fix article TOC’s display error at proper situation
221
+ - Fix footer social buttons not in the center bug
222
+
223
+ ## 1.1.0 (2017-10-19)
224
+
225
+ ### Enhancements
226
+
227
+ - Color variables
228
+ - More color themes (dark, forest, ocean)
229
+
230
+ ## 1.0.0 (2017-10-17)
231
+
232
+ ### Enhancements
233
+
234
+ - Better article directories
235
+ - Dark color theme
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Tian Qi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,89 @@
1
+ # [TeXt Theme](https://github.com/kitian616/jekyll-TeXt-theme)
2
+
3
+ [![license](https://img.shields.io/github/license/kitian616/jekyll-TeXt-theme.svg)](https://github.com/kitian616/jekyll-TeXt-theme/blob/master/LICENSE)
4
+ [![Gem Version](https://img.shields.io/gem/v/jekyll-text-theme.svg)](https://github.com/kitian616/jekyll-TeXt-theme/releases)
5
+ [![Travis](https://img.shields.io/travis/kitian616/jekyll-TeXt-theme.svg)](https://travis-ci.org/kitian616/jekyll-TeXt-theme)
6
+ [![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-1462ab.svg?logo=paypal)](https://www.paypal.me/kitian616)
7
+ [![Tip Me via Bitcoin](https://img.shields.io/badge/Bitcoin-tip%20me-f7931a.svg?logo=bitcoin)](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/3Fkufxcw2xd8HnaRJBNK4ccdtkUDyyNu4V.jpg)
8
+
9
+ ![TeXt Theme](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/TeXt-home.jpg)
10
+
11
+ ![TeXt Theme Details](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/TeXt-layouts.png)
12
+
13
+ TeXt is a super customizable Jekyll theme for personal site, team site, blog, project, documentation, etc. Similar to iOS 11 style, it has large and prominent titles, round buttons and cards.
14
+
15
+ **[Change Log](https://github.com/kitian616/jekyll-TeXt-theme/blob/master/CHANGELOG.md)** | **[中文](https://github.com/kitian616/jekyll-TeXt-theme/blob/master/README-zh.md)**
16
+
17
+ ## Features
18
+
19
+ - Responsive
20
+ - Semantic HTML
21
+ - Skins
22
+ - Highlight Theme
23
+ - Internationalization
24
+ - Search
25
+ - Table of contents
26
+ - Authors
27
+ - Additional styles (alert, tag, image, icon, button, grid, etc)
28
+ - Extensions (audios, videos, slides, demos)
29
+ - Markdown enhancements ([MathJax](https://www.mathjax.org/), [mermaid](https://mermaidjs.github.io/), [chartjs](http://www.chartjs.org/))
30
+ - Sharing ([AddToAny](https://www.addtoany.com/), [AddThis](https://www.addthis.com/))
31
+ - Comments ([Disqus](https://disqus.com/), [Gitalk](https://gitalk.github.io/), [Valine](https://valine.js.org/en/))
32
+ - Pageview ([LeanCloud](https://leancloud.cn/))
33
+ - Analytics ([Google Analytics](https://analytics.google.com/analytics/web/))
34
+ - RSS ([jekyll-feed](https://github.com/jekyll/jekyll-feed))
35
+
36
+ ## Skins
37
+
38
+ TeXt has 6 built-in skins, you can also set up your own skin.
39
+
40
+ | `default` | `dark` | `forest` |
41
+ | --- | --- | --- |
42
+ | ![Default](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/skins_default.jpg) | ![Dark](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/skins_dark.jpg) | ![Forest](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/skins_forest.jpg) |
43
+
44
+ | `ocean` | `chocolate` | `orange` |
45
+ | --- | --- | --- |
46
+ | ![Ocean](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/skins_ocean.jpg) | ![Chocolate](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/skins_chocolate.jpg) | ![Orange](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/skins_orange.jpg) |
47
+
48
+ ### Highlight Theme
49
+
50
+ TeXt use [Tomorrow](https://github.com/chriskempson/tomorrow-theme) as the highlight theme.
51
+
52
+ | `tomorrow` | `tomorrow-night` | `tomorrow-night-eighties` | `tomorrow-night-blue` | `tomorrow-night-bright` |
53
+ | --- | --- | --- | --- | --- |
54
+ | ![Tomorrow](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/highlight_tomorrow.png) | ![Tomorrow Night](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/highlight_tomorrow-night.png) | ![Tomorrow Night Eighties](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/highlight_tomorrow-night-eighties.png) | ![Tomorrow Night Blue](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/highlight_tomorrow-night-blue.png) | ![Tomorrow Night Bright](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/highlight_tomorrow-night-bright.png) |
55
+
56
+ ## Documentation
57
+
58
+ ### Start
59
+
60
+ - [Quick Start](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/quick-start)
61
+ - [Update from 1.x to 2.x](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/update-from-1-to-2)
62
+
63
+ ### Customization
64
+
65
+ - [Configuration](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/configuration)
66
+ - [Navigation](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/navigation)
67
+ - [Layouts](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/layouts)
68
+ - [Logo and Favicon](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/logo-and-favicon)
69
+ - [Authors](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/authors)
70
+ - [Internationalization](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/i18n)
71
+
72
+ ### Content
73
+
74
+ - [Writing Posts](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/writing-posts)
75
+ - [Additional styles](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/additional-styles)
76
+ - [Extensions](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/extensions)
77
+ - [Markdown Enhancements](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/markdown-enhancements)
78
+
79
+ ## Demo Pages
80
+
81
+ | Name | Description |
82
+ | --- | --- |
83
+ | [Home](https://kitian616.github.io/jekyll-TeXt-theme/test/) | Home page |
84
+ | [Archive](https://kitian616.github.io/jekyll-TeXt-theme/archive.html) | Archive page |
85
+ | [Layout Examples](https://kitian616.github.io/jekyll-TeXt-theme/samples.html) | Examples for different layouts |
86
+
87
+ ## License
88
+
89
+ TeXt Theme is [MIT licensed](https://github.com/kitian616/jekyll-TeXt-theme/blob/master/LICENSE).
data/_data/authors.yml ADDED
File without changes
@@ -0,0 +1,16 @@
1
+ CC-BY-4.0:
2
+ name: Attribution 4.0 International
3
+ url: https://creativecommons.org/licenses/by/4.0/
4
+ image: https://i.creativecommons.org/l/by/4.0/88x31.png
5
+ CC-BY-SA-4.0:
6
+ name: Attribution-ShareAlike 4.0 International
7
+ url: https://creativecommons.org/licenses/by-sa/4.0/
8
+ image: https://i.creativecommons.org/l/by-sa/4.0/88x31.png
9
+ CC-BY-NC-4.0:
10
+ name: Attribution-NonCommercial 4.0 International
11
+ url: https://creativecommons.org/licenses/by-nc/4.0/
12
+ image: https://i.creativecommons.org/l/by-nc/4.0/88x31.png
13
+ CC-BY-ND-4.0:
14
+ name: Attribution-NoDerivatives 4.0 International
15
+ url: https://creativecommons.org/licenses/by-nd/4.0/
16
+ image: https://i.creativecommons.org/l/by-nd/4.0/88x31.png
data/_data/locale.yml ADDED
@@ -0,0 +1,169 @@
1
+ # @start locale config
2
+ ## => English
3
+ ########################
4
+ en: &EN
5
+ SUBSCRIBE : "Subscribe"
6
+ READMORE : "Read more"
7
+ SEARCH : "Search"
8
+ CANCEL : "Cancel"
9
+ VIEWS : "views"
10
+ LAST_UPDATED : "Last updated"
11
+ PREVIOUS : "PREVIOUS"
12
+ NEXT : "NEXT"
13
+ ARTICLE_DATE_FORMAT : "%b %d, %Y"
14
+ ARTICLE_LIST_DATE_FORMAT: "%b %d"
15
+ STATISTICS : "[POST_COUNT] post articles, [PAGE_COUNT] pages."
16
+ LICENSE_ANNOUNCE : "This work is licensed under a [LICENSE] license."
17
+ POST_ON_GITHUB : "Edit on Github"
18
+ FOLLOW_ME : "Follow me on [NAME]."
19
+ FOLLOW_US : "Follow us on [NAME]."
20
+ EMAIL_ME : "Send me an Email."
21
+ EMAIL_US : "Send us an Email."
22
+ COPYRIGHT_DATES : "2021"
23
+
24
+ en-GB:
25
+ <<: *EN
26
+ en-US:
27
+ <<: *EN
28
+ en-CA:
29
+ <<: *EN
30
+ en-AU:
31
+ <<: *EN
32
+
33
+ ## => Simplified Chinese
34
+ ########################
35
+ zh-Hans: &ZH_HANS
36
+ SUBSCRIBE : "订阅"
37
+ READMORE : "阅读更多"
38
+ SEARCH : "搜索"
39
+ CANCEL : "取消"
40
+ VIEWS : "阅读"
41
+ LAST_UPDATED : "更新于"
42
+ PREVIOUS : "上篇"
43
+ NEXT : "下篇"
44
+ ARTICLE_DATE_FORMAT : "%Y年 %m月%d日"
45
+ ARTICLE_LIST_DATE_FORMAT: "%m月%d日"
46
+ STATISTICS : "共计 [POST_COUNT] 篇文章,[PAGE_COUNT] 页。"
47
+ LICENSE_ANNOUNCE : "本文遵守 [LICENSE] 许可协议。"
48
+ POST_ON_GITHUB : "在 Github 上修改"
49
+ FOLLOW_ME : "在 [NAME] 上关注我。"
50
+ FOLLOW_US : "在 [NAME] 上关注我们。"
51
+ EMAIL_ME : "给我发邮件。"
52
+ EMAIL_US : "给我们发邮件。"
53
+ COPYRIGHT_DATES : "2021"
54
+
55
+ zh:
56
+ <<: *ZH_HANS
57
+ zh-CN:
58
+ <<: *ZH_HANS
59
+ zh-SG:
60
+ <<: *ZH_HANS
61
+
62
+ ## => Traditional Chinese
63
+ ########################
64
+ zh-Hant: &ZH_HANT
65
+ SUBSCRIBE : "訂閱"
66
+ READMORE : "閱讀更多"
67
+ SEARCH : "搜索"
68
+ CANCEL : "取消"
69
+ VIEWS : "閱讀"
70
+ LAST_UPDATED : "更新於"
71
+ PREVIOUS : "上篇"
72
+ NEXT : "下篇"
73
+ ARTICLE_DATE_FORMAT : "%Y年 %m月%d日"
74
+ ARTICLE_LIST_DATE_FORMAT: "%m月%d日"
75
+ STATISTICS : "共計 [POST_COUNT] 篇文章,[PAGE_COUNT] 頁。"
76
+ LICENSE_ANNOUNCE : "本文遵守 [LICENSE] 許可協議。"
77
+ POST_ON_GITHUB : "在 Github 上修改"
78
+ FOLLOW_ME : "在 [NAME] 上關注我。"
79
+ FOLLOW_US : "在 [NAME] 上關注我們。"
80
+ EMAIL_ME : "給我發郵件。"
81
+ EMAIL_US : "給我們發郵件。"
82
+ COPYRIGHT_DATES : "2021"
83
+
84
+ zh-TW:
85
+ <<: *ZH_HANT
86
+ zh-HK:
87
+ <<: *ZH_HANT
88
+
89
+ ## => Korean
90
+ ########################
91
+ ko: &KO
92
+ SUBSCRIBE : "구독하기"
93
+ READMORE : "더보기"
94
+ SEARCH : "검색"
95
+ CANCEL : "취소"
96
+ VIEWS : "조회"
97
+ LAST_UPDATED : "마지막 수정"
98
+ PREVIOUS : "이전"
99
+ NEXT : "다음"
100
+ ARTICLE_DATE_FORMAT : "%Y년 %m월 %d일"
101
+ ARTICLE_LIST_DATE_FORMAT: "%m월 %d일"
102
+ STATISTICS : "전체 글 [POST_COUNT]개, [PAGE_COUNT] 페이지"
103
+ LICENSE_ANNOUNCE : "이 글의 저작권은 [LICENSE] 라이센스를 따릅니다."
104
+ POST_ON_GITHUB : "Github에서 확인하기"
105
+ FOLLOW_ME : "[NAME]에서 팔로우하기"
106
+ FOLLOW_US : "[NAME]에서 팔로우하기"
107
+ EMAIL_ME : "이메일 보내기"
108
+ EMAIL_US : "이메일 보내기"
109
+ COPYRIGHT_DATES : "2021"
110
+
111
+ ko-KR:
112
+ <<: *KO
113
+
114
+ ## => French
115
+ ########################
116
+ fr: &FR
117
+ SUBSCRIBE : "S'abonner"
118
+ READMORE : "Plus"
119
+ SEARCH : "Recherche"
120
+ CANCEL : "Annuler"
121
+ VIEWS : "vues"
122
+ LAST_UPDATED : "Dernière modification"
123
+ PREVIOUS : "PRÉCÉDENT"
124
+ NEXT : "SUIVANT"
125
+ ARTICLE_DATE_FORMAT : "%d %b, %Y"
126
+ ARTICLE_LIST_DATE_FORMAT: "%d %b"
127
+ STATISTICS : "[POST_COUNT] articles, [PAGE_COUNT] pages."
128
+ LICENSE_ANNOUNCE : "Ce travail est sous licence [LICENSE]."
129
+ POST_ON_GITHUB : "Modifier sur Github"
130
+ FOLLOW_ME : "Suivez-moi sur [NAME]."
131
+ FOLLOW_US : "Suivez-nous sur [NAME]."
132
+ EMAIL_ME : "Envoyez-moi un courriel."
133
+ EMAIL_US : "Envoyez-nous un courriel"
134
+ COPYRIGHT_DATES : "2021"
135
+ DONATE : "Faites un don de [NAME]."
136
+
137
+ fr-BE:
138
+ <<: *FR
139
+ fr-CA:
140
+ <<: *FR
141
+ fr-CH:
142
+ <<: *FR
143
+ fr-FR:
144
+ <<: *FR
145
+ fr-LU:
146
+ <<: *FR
147
+ ## => Turkish
148
+ ########################
149
+ tr: &TR
150
+ SUBSCRIBE : "Takip et"
151
+ READMORE : "Devamını Oku"
152
+ SEARCH : "İçerik Ara"
153
+ CANCEL : "İptal"
154
+ VIEWS : "gösterim"
155
+ LAST_UPDATED : "Son güncellenme"
156
+ PREVIOUS : "ÖNCEKİ"
157
+ NEXT : "SONRAKİ"
158
+ ARTICLE_DATE_FORMAT : "%d %b, %Y"
159
+ ARTICLE_LIST_DATE_FORMAT: "%d %b"
160
+ STATISTICS : "Toplam [POST_COUNT] adet gönderim ve [PAGE_COUNT] adet sayfa bulunuyor."
161
+ LICENSE_ANNOUNCE : "Bu içerik [LICENSE] ile lisanslanmıştır."
162
+ POST_ON_GITHUB : "Github üzerinde düzenle"
163
+ FOLLOW_ME : "Beni [NAME] üzerinden takip et."
164
+ FOLLOW_US : "Bizi [NAME] üzerinden takip edin."
165
+ EMAIL_ME : "Bana email ile ulaşın."
166
+ EMAIL_US : "Bize email ile ulaşın."
167
+ COPYRIGHT_DATES : "2021"
168
+
169
+ # @end locale config
@@ -0,0 +1,52 @@
1
+ header:
2
+ - titles:
3
+ # @start locale config
4
+ en : &EN Archive
5
+ en-GB : *EN
6
+ en-US : *EN
7
+ en-CA : *EN
8
+ en-AU : *EN
9
+ zh-Hans : &ZH_HANS 归档
10
+ zh : *ZH_HANS
11
+ zh-CN : *ZH_HANS
12
+ zh-SG : *ZH_HANS
13
+ zh-Hant : &ZH_HANT 歸檔
14
+ zh-TW : *ZH_HANT
15
+ zh-HK : *ZH_HANT
16
+ ko : &KO 아카이브
17
+ ko-KR : *KO
18
+ fr : &FR Archives
19
+ fr-BE : *FR
20
+ fr-CA : *FR
21
+ fr-CH : *FR
22
+ fr-FR : *FR
23
+ fr-LU : *FR
24
+ tr : &TR Arşivdekiler
25
+ # @end locale config
26
+ url: /archive.html
27
+
28
+ - titles:
29
+ # @start locale config
30
+ en : &EN About
31
+ en-GB : *EN
32
+ en-US : *EN
33
+ en-CA : *EN
34
+ en-AU : *EN
35
+ zh-Hans : &ZH_HANS 关于
36
+ zh : *ZH_HANS
37
+ zh-CN : *ZH_HANS
38
+ zh-SG : *ZH_HANS
39
+ zh-Hant : &ZH_HANT 關於
40
+ zh-TW : *ZH_HANT
41
+ zh-HK : *ZH_HANT
42
+ ko : &KO 소개
43
+ ko-KR : *KO
44
+ fr : &FR À propos
45
+ fr-BE : *FR
46
+ fr-CA : *FR
47
+ fr-CH : *FR
48
+ fr-FR : *FR
49
+ fr-LU : *FR
50
+ tr : &TR Hakkında
51
+ # @end locale config
52
+ url: /about.html
@@ -0,0 +1,64 @@
1
+ default:
2
+ text_skin: default
3
+ highlight_theme: default
4
+ lang: en
5
+ paths:
6
+ root: /
7
+ home: /
8
+ archive: /archive.html
9
+ rss: /feed.xml
10
+ mathjax: false
11
+ mathjax_autoNumber: false
12
+ mermaid: false
13
+ chart: false
14
+ toc:
15
+ selectors: 'h1,h2,h3'
16
+ sources: bootcdn
17
+
18
+ page:
19
+ mode: normal
20
+ type: webpage
21
+ article_header:
22
+ align: left
23
+ theme: light
24
+ articles:
25
+ show_cover: true
26
+ show_excerpt: false
27
+ show_readmore: false
28
+ show_info: false
29
+ show_title: true
30
+ show_edit_on_github: false
31
+ show_date: true
32
+ show_tags: true
33
+ show_author_profile: false
34
+ show_subscribe: false
35
+ full_width: false
36
+ sharing: false
37
+ comment: true
38
+ license: false
39
+ pageview: false
40
+ search: default
41
+
42
+ sources:
43
+ bootcdn:
44
+ font_awesome: 'https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.1/css/all.css'
45
+ jquery: 'https://cdn.bootcss.com/jquery/3.1.1/jquery.min.js'
46
+ leancloud_js_sdk: '//cdn.jsdelivr.net/npm/leancloud-storage@3.13.2/dist/av-min.js'
47
+ chart: 'https://cdn.bootcss.com/Chart.js/2.7.2/Chart.bundle.min.js'
48
+ gitalk:
49
+ js: 'https://cdn.bootcss.com/gitalk/1.2.2/gitalk.min.js'
50
+ css: 'https://cdn.bootcss.com/gitalk/1.2.2/gitalk.min.css'
51
+ valine: 'https://unpkg.com/valine/dist/Valine.min.js' # bootcdn not available
52
+ mathjax: 'https://cdn.bootcss.com/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML'
53
+ mermaid: 'https://cdn.bootcss.com/mermaid/8.0.0-rc.8/mermaid.min.js'
54
+ unpkg:
55
+ font_awesome: 'https://use.fontawesome.com/releases/v5.15.1/css/all.css'
56
+ jquery: 'https://unpkg.com/jquery@3.3.1/dist/jquery.min.js'
57
+ leancloud_js_sdk: '//cdn.jsdelivr.net/npm/leancloud-storage@3.13.2/dist/av-min.js'
58
+ chart: 'https://unpkg.com/chart.js@2.7.2/dist/Chart.min.js'
59
+ gitalk:
60
+ js: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.min.js'
61
+ css: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.css'
62
+ valine: 'https//unpkg.com/valine/dist/Valine.min.js'
63
+ mathjax: 'https://unpkg.com/mathjax@2.7.4/unpacked/MathJax.js?config=TeX-MML-AM_CHTML'
64
+ mermaid: 'https://unpkg.com/mermaid@8.0.0-rc.8/dist/mermaid.min.js'
@@ -0,0 +1,3 @@
1
+ <!-- start custom analytics snippet -->
2
+
3
+ <!-- end custom analytics snippet -->
@@ -0,0 +1,14 @@
1
+ {%- if site.analytics.google.tracking_id -%}
2
+ <!-- Global site tag (gtag.js) - Google Analytics -->
3
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
4
+ <script>
5
+ window.dataLayer = window.dataLayer || [];
6
+ function gtag(){dataLayer.push(arguments);}
7
+ gtag('js', new Date());
8
+
9
+ gtag('config', '{{ site.analytics.google.tracking_id }}');
10
+ {% if site.analytics.google.anonymize_ip == true %}
11
+ gtag('config', '{{ site.analytics.google.tracking_id }}', { 'anonymize_ip': true });
12
+ {% endif %}
13
+ </script>
14
+ {%- endif -%}
@@ -0,0 +1,7 @@
1
+ {%- if jekyll.environment != 'development' -%}
2
+ {%- if site.analytics.provider == 'google' -%}
3
+ {%- include analytics-providers/google.html -%}
4
+ {%- elsif site.analytics.provider == 'custom' -%}
5
+ {%- include analytics-providers/custom.html -%}
6
+ {%- endif -%}
7
+ {%- endif -%}