jekyll-text-theme-fork 2.2.6

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 (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
@@ -0,0 +1,6 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M512.091 166.946c116.242 0 232.484-0.014 348.727 0.007 41.522 0.008 76.321 12.188 94.842 53.167 8.25 18.251 6.5 30.831-13.43 43.256-137.452 85.695-274.125 172.655-410.534 260.014-14.762 9.456-24.638 9.569-39.498 0.041C354.353 435.041 216.033 347.399 77.465 260.14c-12.701-8.002-16.368-15.572-12.01-29.962 9.882-32.627 30.845-52.873 63.868-59.66 13.656-2.806 27.953-3.4 41.966-3.431C284.888 166.83 398.492 166.943 512.091 166.946z" />
3
+ <path d="M510.888 856.021c-117.998 0-235.996 0.134-353.993-0.067-47.671-0.083-79.295-22.331-91.17-61.206-4.28-14.027-2.127-22.232 10.858-30.356 108.193-67.725 215.807-136.366 324.233-203.713 7.275-4.519 21.51-4.25 29.378-0.171 22.589 11.713 44.026 25.859 64.999 40.383 11.823 8.191 21.091 8.623 33.117 0.325 20.993-14.484 43.689-26.52 64.549-41.176 12.159-8.539 20.73-7.176 32.785 0.537 106.04 67.844 212.318 135.315 319.158 201.894 16.481 10.272 18.065 21.564 12.577 37.407-12.35 35.666-45.183 55.999-92.491 56.081C746.889 856.149 628.886 856.021 510.888 856.021z" />
4
+ <path d="M64.376 326.925c97.051 61.769 192.332 122.409 290.508 184.898-97.877 62.309-192.719 122.68-290.508 184.932C64.376 572.674 64.376 451.511 64.376 326.925z" />
5
+ <path d="M959.665 327.168c0 124.369 0 244.164 0 369.253-97.913-62.322-192.914-122.792-290.001-184.589C766.993 449.854 861.628 389.595 959.665 327.168z" />
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 0 1-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 0 1 6.8-17.2z"></path>
3
+ </svg>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48" version="1.1" width="24px" height="24px">
3
+ <g id="surface1">
4
+ <path style=" fill:#D50000;" d="M 0 15 L 48 15 L 48 32 L 24 32 L 24 35 L 13 35 L 13 32 L 0 32 Z "/>
5
+ <path style=" fill:#FFFFFF;" d="M 3 29 L 8 29 L 8 21 L 11 21 L 11 29 L 13 29 L 13 18 L 3 18 Z "/>
6
+ <path style=" fill:#FFFFFF;" d="M 16 18 L 16 32 L 21 32 L 21 29 L 26 29 L 26 18 Z M 24 26 L 21 26 L 21 21 L 24 21 Z "/>
7
+ <path style=" fill:#FFFFFF;" d="M 29 18 L 29 29 L 34 29 L 34 21 L 37 21 L 37 29 L 40 29 L 40 21 L 43 21 L 43 29 L 45 29 L 45 18 Z "/>
8
+ </g>
9
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M444.56 671.968c-16.832 85.472-35.936 155.392-57.296 209.776S333.84 978.224 291.104 1008c-5.184-29.776-7.12-62.48-5.824-98.096 1.264-35.616 3.2-66.352 5.824-92.256 2.592-25.904 7.44-55.04 14.576-87.408 7.088-32.368 13.888-60.224 20.4-83.536 6.464-23.296 13.888-50.816 22.336-82.544 8.416-31.712 14.56-58.56 18.448-80.608-12.96-24.576-19.424-53.088-19.424-85.472 0-32.336 5.504-62.16 16.512-89.344 10.976-27.2 28.464-47.888 52.432-62.16 23.968-14.24 50.176-16.192 78.672-5.824 27.2 11.664 42.08 31.744 44.672 60.208 2.592 28.496-1.936 59.92-13.6 94.208-11.648 34.32-22.656 68.32-33.008 101.984-10.384 33.696-11.664 63.44-3.888 89.344 7.76 25.888 28.48 42.08 62.16 48.544 45.312 9.072 85.776-3.872 121.392-38.848 35.616-34.96 60.224-77.984 73.808-129.168 13.6-51.152 17.152-104.56 10.688-160.24-6.48-55.648-24.608-98.384-54.384-128.192-32.368-33.664-71.216-55.648-116.528-66.032-45.328-10.352-89.36-8.736-132.096 4.864-42.72 13.6-81.904 34.32-117.504 62.16-35.648 27.872-62.48 63.792-80.608 107.792-18.16 44.016-23.312 90.016-15.536 137.904 2.592 12.944 7.776 26.224 15.536 39.824 7.776 13.6 14.576 24.96 20.4 34 5.824 9.056 8.416 21.68 7.76 37.872-0.672 16.208-6.8 33.984-18.448 53.408-97.12-22-143.728-97.76-139.84-227.248 3.888-91.936 39.136-169.632 105.856-233.072 66.688-63.424 143.408-100.336 230.176-110.72 108.768-11.648 204.592 7.12 287.456 56.336 82.88 49.232 130.8 121.728 143.728 217.552 10.352 73.808 4.528 145.664-17.488 215.6-22 69.92-59.568 126.576-112.656 169.952-53.072 43.392-115.232 62.48-186.448 57.312-14.256-1.296-27.52-4.224-39.808-8.752-12.32-4.528-22.336-9.056-30.112-13.6-7.76-4.528-18.16-11.328-31.072-20.384C462.688 684.288 452.336 677.152 444.56 671.968z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M116.434944 581.71392c-33.540096 78.963712-38.984704 154.297344-12.058624 168.370176 18.572288 9.696256 47.685632-12.382208 74.93632-52.909056 10.790912 44.156928 37.492736 84.13696 75.63264 116.209664-40.003584 14.768128-66.13504 38.8864-66.13504 66.23232 0 44.9536 70.709248 81.301504 157.9776 81.301504 78.715904 0 143.906816-29.538304 155.93984-68.371456 3.231744-0.049152 15.663104-0.049152 18.79552 0 12.0832 38.784 77.324288 68.371456 155.988992 68.371456 87.267328 0 157.9776-36.39808 157.9776-81.301504 0-27.296768-26.104832-51.464192-66.13504-66.23232 38.088704-32.12288 64.888832-72.052736 75.630592-116.209664 27.250688 40.526848 56.290304 62.605312 74.887168 52.909056 26.949632-14.072832 21.630976-89.455616-12.032-168.370176-26.354688-62.058496-62.109696-107.754496-89.45664-117.848064 0.398336-3.929088 0.595968-7.957504 0.595968-11.93472 0-23.967744-6.66112-46.145536-18.049024-64.195584 0.198656-1.39264 0.198656-2.834432 0.198656-4.227072 0-11.037696-2.635776-21.38112-7.113728-30.331904-6.908928-161.308672-111.930368-289.401856-281.86624-289.401856-170.036224 0-275.105792 128.093184-281.94304 289.401856-4.525056 9.00096-7.135232 19.34336-7.135232 30.331904 0 1.39264 0.099328 2.835456 0.149504 4.227072-11.287552 18.050048-17.95072 40.177664-17.95072 64.195584 0 3.97824 0.149504 7.955456 0.497664 11.93472C178.61632 473.959424 142.739456 519.706624 116.434944 581.71392z" />
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px">
3
+ <path style="line-height:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;block-progression:tb;isolation:auto;mix-blend-mode:normal" d="M 20.302734 2.984375 C 20.013769 2.996945 19.748583 3.080055 19.515625 3.171875 C 19.300407 3.256634 18.52754 3.5814726 17.296875 4.0976562 C 16.06621 4.61384 14.435476 5.2982348 12.697266 6.0292969 C 9.2208449 7.4914211 5.314238 9.1361259 3.3125 9.9785156 C 3.243759 10.007156 2.9645852 10.092621 2.65625 10.328125 C 2.3471996 10.564176 2.0039062 11.076462 2.0039062 11.636719 C 2.0039062 12.088671 2.2295201 12.548966 2.5019531 12.8125 C 2.7743861 13.076034 3.0504903 13.199244 3.28125 13.291016 C 3.9563403 13.559857 6.0424892 14.392968 6.9492188 14.755859 C 7.2668647 15.707799 8.0129251 17.950071 8.1875 18.501953 L 8.1855469 18.501953 C 8.3275588 18.951162 8.4659791 19.243913 8.6582031 19.488281 C 8.7543151 19.610465 8.8690398 19.721184 9.0097656 19.808594 C 9.0637596 19.842134 9.1235454 19.868148 9.1835938 19.892578 C 9.191962 19.896131 9.2005867 19.897012 9.2089844 19.900391 L 9.1855469 19.894531 C 9.2029579 19.901531 9.2185841 19.911859 9.2363281 19.917969 C 9.2652427 19.927926 9.2852873 19.927599 9.3242188 19.935547 C 9.4612233 19.977694 9.5979794 20.005859 9.7246094 20.005859 C 10.26822 20.005859 10.601562 19.710938 10.601562 19.710938 L 10.623047 19.695312 L 12.970703 17.708984 L 15.845703 20.367188 C 15.897113 20.439837 16.308174 20.998047 17.261719 20.998047 C 17.829844 20.998047 18.280978 20.718791 18.568359 20.423828 C 18.855741 20.128866 19.034757 19.82706 19.115234 19.417969 L 19.115234 19.414062 L 19.115234 19.412109 C 19.171124 19.121728 21.931641 5.265625 21.931641 5.265625 L 21.925781 5.2890625 C 22.01148 4.9067181 22.036735 4.5369631 21.935547 4.1601562 C 21.834358 3.7833495 21.561271 3.4156252 21.232422 3.2226562 C 20.903572 3.0296874 20.591699 2.9718046 20.302734 2.984375 z M 19.908203 5.1738281 C 19.799749 5.7182284 17.343164 18.059965 17.183594 18.878906 L 14.328125 16.240234 C 13.59209 15.559749 12.44438 15.535812 11.679688 16.181641 L 10.222656 17.414062 L 11 14.375 C 11 14.375 16.362547 8.9468594 16.685547 8.6308594 C 16.945547 8.3778594 17 8.2891719 17 8.2011719 C 17 8.0841719 16.939781 8 16.800781 8 C 16.675781 8 16.506016 8.1197812 16.416016 8.1757812 C 15.267511 8.8918132 10.350132 11.694224 7.96875 13.048828 C 7.8792978 12.995267 7.7913128 12.939666 7.6933594 12.900391 C 6.9119785 12.587666 5.4101276 11.985551 4.53125 11.634766 C 6.6055146 10.76177 10.161156 9.2658083 13.472656 7.8730469 C 15.210571 7.142109 16.840822 6.4570977 18.070312 5.9414062 C 19.108158 5.5060977 19.649538 5.2807035 19.908203 5.1738281 z M 17.152344 19.023438 C 17.152344 19.023438 17.154297 19.023438 17.154297 19.023438 C 17.154234 19.023761 17.152444 19.03095 17.152344 19.03125 C 17.154024 19.022709 17.151187 19.029588 17.152344 19.023438 z" font-weight="400" font-family="sans-serif" white-space="normal" overflow="visible"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1024.032 194.432c-37.664 16.704-78.176 28-120.672 33.088 43.36-26.016 76.672-67.168 92.384-116.224-40.608 24.064-85.568 41.568-133.408 50.976-38.336-40.832-92.928-66.336-153.344-66.336-116.032 0-210.08 94.048-210.08 210.08 0 16.48 1.856 32.512 5.44 47.872-174.592-8.768-329.408-92.416-433.024-219.52-18.08 31.04-28.448 67.104-28.448 105.632 0 72.896 37.088 137.184 93.472 174.88-34.432-1.088-66.816-10.528-95.168-26.272-0.032 0.864-0.032 1.76-0.032 2.656 0 101.792 72.416 186.688 168.512 205.984-17.632 4.8-36.192 7.36-55.36 7.36-13.536 0-26.688-1.312-39.52-3.776 26.72 83.456 104.32 144.192 196.256 145.888-71.904 56.352-162.496 89.92-260.928 89.92-16.96 0-33.664-0.992-50.112-2.944 92.96 59.616 203.392 94.4 322.048 94.4 386.432 0 597.728-320.128 597.728-597.76 0-9.12-0.192-18.176-0.608-27.168 41.056-29.632 76.672-66.624 104.832-108.736z" />
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M769.226164 496.610234c-14.420098-4.330228-24.309277-7.266877-16.746482-26.214823 16.350218-41.133578 18.046881-76.626289 0.307181-101.939024-33.242099-47.500415-124.194284-44.928286-228.44638-1.280945 0-0.056317-32.73525 14.323848-24.371737-11.64523 16.042013-51.54906 13.626547-94.739726-11.332929-119.662341-56.566349-56.601163-206.976479 2.134908-335.954595 131.078209-96.594075 96.61353-152.681222 198.989775-152.681222 287.52035 0 169.337597 217.152361 272.292366 429.593589 272.292366 278.498445 0 463.752111-161.808592 463.752111-290.273715C893.345701 558.867622 827.968378 514.820945 769.226164 496.610234zM430.163922 866.063936c-169.51781 16.728051-315.851649-59.899262-326.864086-171.202185-11.010389-111.275277 117.530505-215.061482 287.031932-231.823323 169.537265-16.761841 315.876224 59.866496 326.86511 171.119247C728.190884 745.495411 599.705282 849.291856 430.163922 866.063936z" />
3
+ <path d="M954.16753 186.714824c-67.256246-74.565105-166.457264-102.990607-258.020739-83.522502l-0.037886 0c-21.188318 4.535015-34.695065 25.37929-30.159026 46.527675 4.516584 21.166816 25.352668 34.691993 46.54201 30.174385 65.139769-13.832358 135.634727 6.400627 183.442323 59.368863 47.765615 52.96414 60.740938 125.206957 40.282686 188.537431l0.011263 0.012287c-6.666851 20.629249 4.617954 42.698153 25.271777 49.366027 20.570885 6.662755 42.687913-4.607714 49.362955-25.188838 0-0.037886 0-0.116729 0.011263-0.150519C1039.577146 362.756133 1021.443231 261.206205 954.16753 186.714824" />
4
+ <path d="M850.886125 279.919669c-32.732179-36.315956-81.068126-50.108381-125.685136-40.621609-18.234261 3.885839-29.856965 21.833398-25.946551 40.085067 3.89915 18.173849 21.833398 29.851845 40.024654 25.893307l0 0.037886c21.809848-4.610786 45.459709 2.113405 61.461789 19.83365 16.018463 17.757107 20.323092 41.949655 13.45043 63.178931l0.035838 0c-5.715614 17.717174 3.983113 36.770584 21.717694 42.511796 17.7397 5.677728 36.76956-3.992328 42.493365-21.756603C892.458972 365.691759 883.686907 316.228458 850.886125 279.919669" />
5
+ <path d="M447.103928 548.691741c-80.666743-20.985579-171.84317 19.215193-206.880229 90.291746-35.685212 72.492657-1.180599 152.963828 80.321676 179.268757 84.41947 27.224424 183.926645-14.492797 218.521364-92.744074C573.187374 649.021137 530.586496 570.268131 447.103928 548.691741zM385.506979 733.819463c-16.398343 26.160554-51.51015 37.623523-77.954335 25.54824-26.066352-11.868448-33.760211-42.248645-17.360844-67.757975 16.197652-25.400793 50.129884-36.716316 76.378497-25.711046C393.129162 677.216253 401.60838 707.401901 385.506979 733.819463zM439.522702 664.493841c-5.929616 10.131852-19.03498 15.010909-29.304039 10.785123-10.096014-4.15411-13.261002-15.495231-7.522862-25.454038 5.906066-9.908634 18.500485-14.747758 28.572948-10.750309C441.502995 642.817105 445.180975 654.283146 439.522702 664.493841z" />
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M684.111464 364.088889c10.47478 0 20.949559 0.722399 31.424339 1.805996-28.173545-131.476543-168.680071-229.000353-329.052557-229.000353-179.15485 0-326.162963 122.085362-326.162963 277.401058 0 89.577425 48.761905 163.262081 130.392945 220.33157l-32.507937 98.246208L272.344268 675.442681c40.81552 7.946384 73.684656 16.253968 114.138977 16.253968 10.11358 0 20.22716-0.361199 30.340741-1.444797-6.501587-21.671958-10.11358-44.788713-10.11358-68.266667C406.710406 479.672663 529.156966 364.088889 684.111464 364.088889zM508.568607 275.595062c24.561552 0 40.81552 16.253968 40.81552 40.81552 0 24.561552-16.253968 40.81552-40.81552 40.81552-24.561552 0-49.123104-16.253968-49.123104-40.81552C459.806702 291.84903 484.368254 275.595062 508.568607 275.595062zM280.290653 357.226102c-24.561552 0-49.123104-16.253968-49.123104-40.81552 0-24.561552 24.561552-40.81552 49.123104-40.81552 24.561552 0 40.81552 16.253968 40.81552 40.81552C321.106173 340.610935 304.852205 357.226102 280.290653 357.226102z" p-id="792"></path><path d="M981.739683 618.373192c0-130.392945-130.392945-236.585538-277.039859-236.585538-155.315697 0-277.401058 106.192593-277.401058 236.585538 0 130.754145 122.085362 236.585538 277.401058 236.585538 32.507937 0 65.377072-8.307584 97.885009-16.253968l89.577425 49.123104-24.561552-81.631041C932.977778 757.073721 981.739683 691.696649 981.739683 618.373192zM614.761199 577.557672c-16.253968 0-32.507937-16.253968-32.507937-32.507937 0-16.253968 16.253968-32.507937 32.507937-32.507937 24.561552 0 40.81552 16.253968 40.81552 32.507937C655.57672 561.303704 639.322751 577.557672 614.761199 577.557672zM794.277249 577.557672c-16.253968 0-32.507937-16.253968-32.507937-32.507937 0-16.253968 16.253968-32.507937 32.507937-32.507937 24.561552 0 40.81552 16.253968 40.81552 32.507937C835.092769 561.303704 818.477601 577.557672 794.277249 577.557672z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M351.791182 562.469462l192.945407 0c0-45.367257-21.3871-71.939449-21.3871-71.939449L355.897709 490.530013c3.977591-82.182744 7.541767-187.659007 8.816806-226.835262l159.282726 0c0 0-0.86367-67.402109-18.578124-67.402109s-279.979646 0-279.979646 0 16.850783-88.141456 39.318494-127.053698c0 0-83.60514-4.510734-112.121614 106.962104S81.344656 355.077018 76.80834 367.390461c-4.536316 12.313443 24.62791 5.832845 36.941354 0 12.313443-5.832845 68.050885-25.924439 84.252893-103.69571l86.570681 0c1.165546 49.28652 4.596691 200.335724 3.515057 226.835262L109.86113 490.530013c-25.275663 18.147312-33.701566 71.939449-33.701566 71.939449L279.868105 562.469462c-8.497535 56.255235-23.417339 128.763642-44.275389 167.210279-33.05279 60.921511-50.55235 116.65793-169.802314 212.576513 0 0-19.442818 14.257725 40.829917 9.073656 60.273758-5.185093 117.305683-20.739347 156.840094-99.807147 20.553105-41.107233 41.805128-93.250824 58.386782-146.138358l-0.055259 0.185218 167.855986 193.263655c0 0 22.035876-51.847855 5.832845-108.880803L371.045711 650.610918l-42.1244 31.157627-0.045025 0.151449c11.69946-41.020252 20.11206-81.5749 22.726607-116.858498C351.665315 564.212152 351.72876 563.345412 351.791182 562.469462z" p-id="907"></path><path d="M584.918753 182.033893l0 668.840094 70.318532 0 28.807093 80.512708 121.875768-80.512708 153.600307 0L959.520453 182.033893 584.918753 182.033893zM887.150192 778.934538l-79.837326 0-99.578949 65.782216-23.537066-65.782216-24.855084 0L659.341766 256.673847l227.807403 0L887.149169 778.934538z" />
3
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
2
+ width="24px" height="24px" viewBox="0 0 24 24">
3
+ <style type="text/css">
4
+ .st0{fill:#515151;}
5
+ </style>
6
+ <path class="st0" d="M1.7,22.3c5.7-5.7,11.3-5.7,17,0c3.3-3.3,3.5-5.3,0.8-6c2.7,0.7,3.5-1.1,2.3-5.6s-3.3-5.2-6.3-2.1
7
+ c3-3,2.3-5.2-2.1-6.3S7,1.8,7.7,4.6C7,1.8,5,2.1,1.7,5.3C7.3,11,7.3,16.7,1.7,22.3"/>
8
+ </svg>
@@ -0,0 +1,52 @@
1
+ {%- assign _tag_max_size = 1 -%}
2
+ {%- assign _tag_min_size = 1 -%}
3
+ {%- assign _tag_cur_size = 1 -%}
4
+ {%- assign _tags = site.tags | sort -%}
5
+ {%- for _tag in _tags -%}
6
+ {%- assign _tag_cur_size = _tag[1].size -%}
7
+ {%- if _tag_cur_size > _tag_max_size -%}
8
+ {%- assign _tag_max_size = _tag_cur_size -%}
9
+ {%- endif -%}
10
+ {%- if _tag_cur_size < _tag_min_size -%}
11
+ {%- assign _tag_min_size = _tag_cur_size -%}
12
+ {%- endif -%}
13
+ {%- endfor -%}
14
+ {%- assign _tag_gap_size = _tag_max_size | minus: _tag_min_size | plus: 1 | divided_by: 4 -%}
15
+ {%- if _tag_gap_size < 1 -%}
16
+ {%- assign _tag_gap_size = 1 -%}
17
+ {%- endif -%}
18
+ <div class="site-tags js-tags">
19
+ <ul class="menu">
20
+ <li>
21
+ <button type="button" class="button button--secondary button--pill tag-button tag-button--all" data-encode="">
22
+ Show All<div class="tag-button__count">{{ site.posts | size }}</div>
23
+ </button>
24
+ </li>
25
+ {%- for _tag in _tags -%}
26
+ {%- assign _tag_cur_size = _tag[1].size -%}
27
+ {%- assign _tag_min_1 = _tag_min_size -%}
28
+ {%- assign _tag_max_1 = _tag_min_1 | plus: _tag_gap_size -%}
29
+ {%- assign _tag_min_2 = _tag_max_1 -%}
30
+ {%- assign _tag_max_2 = _tag_min_2 | plus: _tag_gap_size -%}
31
+ {%- assign _tag_min_3 = _tag_max_2 -%}
32
+ {%- assign _tag_max_3 = _tag_min_3 | plus: _tag_gap_size -%}
33
+ {%- assign _tag_min_4 = _tag_max_3 -%}
34
+ {%- assign _tag_max_4 = _tag_min_4 | plus: _tag_gap_size -%}
35
+ {%- if _tag_cur_size >= _tag_min_1 and _tag_cur_size < _tag_max_1 -%}
36
+ {%- assign _c_index = 1 -%}
37
+ {%- elsif _tag_cur_size >= _tag_min_2 and _tag_cur_size < _tag_max_2 -%}
38
+ {%- assign _c_index = 2 -%}
39
+ {%- elsif _tag_cur_size >= _tag_min_3 and _tag_cur_size < _tag_max_3 -%}
40
+ {%- assign _c_index = 3 -%}
41
+ {%- elsif _tag_cur_size >= _tag_min_4 and _tag_cur_size < _tag_max_4 -%}
42
+ {%- assign _c_index = 4 -%}
43
+ {%- else -%}
44
+ {%- assign _c_index = 4 -%}
45
+ {%- endif -%}
46
+ <li><button type="button" class="button button--pill tag-button tag-button-{{ _c_index }}" data-encode="{{ _tag[0] | strip | url_encode }}">
47
+ <span>{{ _tag[0] | strip }}</span><div class="tag-button__count">{{ _tag[1].size }}</div>
48
+ </button>
49
+ </li>
50
+ {%- endfor -%}
51
+ </ul>
52
+ </div>
data/_layouts/404.html ADDED
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: page
3
+ title: 404
4
+ show_title: false
5
+ ---
6
+ <div class="layout--404">
7
+ <div class="sign">
8
+ <h1>404</h1>
9
+ <p>Page not found :(</p>
10
+ </div>
11
+ </div>
12
+
13
+ {{ content }}
@@ -0,0 +1,40 @@
1
+ ---
2
+ layout: page
3
+ titles:
4
+ # @start locale config
5
+ en : &EN Archive
6
+ en-GB : *EN
7
+ en-US : *EN
8
+ en-CA : *EN
9
+ en-AU : *EN
10
+ zh-Hans : &ZH_HANS 归档
11
+ zh : *ZH_HANS
12
+ zh-CN : *ZH_HANS
13
+ zh-SG : *ZH_HANS
14
+ zh-Hant : &ZH_HANT 歸檔
15
+ zh-TW : *ZH_HANT
16
+ zh-HK : *ZH_HANT
17
+ ko : &KO 아카이브
18
+ ko-KR : *KO
19
+ fr : &FR Archives
20
+ fr-BE : *FR
21
+ fr-CA : *FR
22
+ fr-CH : *FR
23
+ fr-FR : *FR
24
+ fr-LU : *FR
25
+ tr : &TR Arşivdekiler
26
+ # @end locale config
27
+ ---
28
+
29
+ <div class="layout--archive js-all">
30
+ {%- include tags.html -%}
31
+ <div class="js-result layout--archive__result d-none">
32
+ {%- include article-list.html articles=site.posts type='brief' show_info=true reverse=true group_by='year' -%}
33
+ </div>
34
+ </div>
35
+
36
+ <script>
37
+ {%- include scripts/archieve.js -%}
38
+ </script>
39
+
40
+ {{ content }}
@@ -0,0 +1,29 @@
1
+ ---
2
+ layout: page
3
+ type: article
4
+ ---
5
+
6
+ {%- include snippets/assign.html
7
+ target = site.data.variables.default.page.sharing
8
+ source0=layout.sharing source1=page.sharing -%}
9
+ {%- assign _sharing = __return -%}
10
+
11
+ <div class="layout--article">
12
+ {%- include article/top/custom.html -%}
13
+
14
+ <div class="article__content" itemprop="articleBody">{{ content }}</div>
15
+
16
+ {%- if _sharing -%}
17
+ <section class="article__sharing d-print-none">{%- include sharing.html -%}</section>
18
+ {%- endif -%}
19
+
20
+ <div class="d-print-none">
21
+ {%- include article-footer.html -%}
22
+ {%- include article-section-navigator.html -%}
23
+ </div>
24
+
25
+ </div>
26
+
27
+ <script>
28
+ {%- include scripts/article.js -%}
29
+ </script>
@@ -0,0 +1,89 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {%- assign _page_articles_data_source = page.articles.data_source | default: layout.articles.data_source -%}
6
+
7
+ {%- if _page_articles_data_source -%}
8
+ {%- assign _keys = _page_articles_data_source | split: '.' -%}
9
+ {%- endif -%}
10
+
11
+ {%- assign _articles = nil -%}
12
+ {%- for _key in _keys -%}
13
+ {%- if forloop.first -%}
14
+ {%- case _key -%}
15
+ {%- when 'site' -%}
16
+ {%- assign _articles = site -%}
17
+ {%- when 'page' -%}
18
+ {%- assign _articles = page -%}
19
+ {%- when 'layout' -%}
20
+ {%- assign _articles = layout -%}
21
+ {%- when 'paginator' -%}
22
+ {%- assign _articles = paginator -%}
23
+ {%- else -%}
24
+ {%- assign _articles = site[_key] -%}
25
+ {%- else -%}
26
+ {%- endcase -%}
27
+ {%- else -%}
28
+ {%- assign _articles = _articles[_key] -%}
29
+ {%- endif -%}
30
+ {%- endfor -%}
31
+
32
+ {%- assign _type = page.articles.type | default: layout.articles.type -%}
33
+
34
+ {%- if _articles -%}
35
+
36
+ <div class="layout--articles">
37
+
38
+ {%- if _type == 'grid' -%}
39
+ {%- if page.articles.size == 'sm' -%}
40
+ {%- include article-list.html articles=_articles type='grid' size='sm' -%}
41
+ {%- else -%}
42
+ {%- include article-list.html articles=_articles type='grid' -%}
43
+ {%- endif -%}
44
+
45
+ {%- elsif _type == 'brief' -%}
46
+ {%- include snippets/assign.html
47
+ target=site.data.variables.default.page.articles.show_info
48
+ source0=layout.articles.show_info source1=page.articles.show_info -%}
49
+ {%- assign _show_info = __return -%}
50
+
51
+ {%- include article-list.html articles=_articles type='brief' show_info=_show_info -%}
52
+
53
+ {%- else -%}
54
+ {%- include snippets/assign.html
55
+ target=site.data.variables.default.page.articles.show_cover
56
+ source0=layout.articles.show_cover source1=page.articles.show_cover -%}
57
+ {%- assign _show_cover = __return -%}
58
+
59
+ {%- include snippets/assign.html
60
+ target=site.data.variables.default.page.articles.show_excerpt
61
+ source0=layout.articles.show_excerpt source1=page.articles.show_excerpt -%}
62
+ {%- assign _show_excerpt = __return -%}
63
+
64
+ {%- include snippets/assign.html
65
+ target=site.data.variables.default.page.articles.show_readmore
66
+ source0=layout.articles.show_readmore source1=page.articles.show_readmore -%}
67
+ {%- assign _show_readmore = __return -%}
68
+
69
+ {%- include snippets/assign.html
70
+ target=site.data.variables.default.page.articles.show_info
71
+ source0=layout.articles.show_info source1=page.articles.show_info -%}
72
+ {%- assign _show_info = __return -%}
73
+
74
+ {%- assign _article_type = page.articles.article_type | default: layout.articles.article_type -%}
75
+ {%- assign _cover_size = page.articles.cover_size | default: layout.articles.cover_size -%}
76
+ {%- assign _excerpt_type = page.articles.excerpt_type | default: layout.articles.excerpt_type -%}
77
+
78
+ {%- include article-list.html articles=_articles type='item'
79
+ article_type=_article_type
80
+ show_cover=_show_cover cover_size=_cover_size
81
+ show_excerpt=_show_excerpt excerpt_type=_excerpt_type
82
+ show_readmore=_show_readmore show_info=_show_info -%}
83
+
84
+ {%- endif -%}
85
+
86
+ </div>
87
+ {%- endif -%}
88
+
89
+ {{ content }}
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: none
3
+ ---
4
+ <!DOCTYPE html>
5
+ {%- include snippets/get-lang.html -%}
6
+ <html lang="{{ __return }}">
7
+ <head>
8
+ {%- include analytics.html -%}
9
+ {%- include head.html -%}
10
+ <script>
11
+ {%- include scripts/utils/utils.js -%}
12
+ {%- include scripts/lib/throttle.js -%}
13
+ {%- include scripts/lib/lazyload.js -%}
14
+ </script>
15
+ {%- include scripts/variables.html -%}
16
+ </head>
17
+ <body>
18
+ <div class="root" data-is-touch="false">
19
+ {{ content }}
20
+ </div>
21
+ <script>
22
+ {%- include scripts/common.js -%}
23
+ </script>
24
+ </body>
25
+ </html>
@@ -0,0 +1,43 @@
1
+ ---
2
+ layout: articles
3
+ titles:
4
+ # @start locale config
5
+ en : &EN Home
6
+ en-GB : *EN
7
+ en-US : *EN
8
+ en-CA : *EN
9
+ en-AU : *EN
10
+ zh-Hans : &ZH_HANS 主页
11
+ zh : *ZH_HANS
12
+ zh-CN : *ZH_HANS
13
+ zh-SG : *ZH_HANS
14
+ zh-Hant : &ZH_HANT 主頁
15
+ zh-TW : *ZH_HANT
16
+ zh-HK : *ZH_HANT
17
+ ko : &KO 홈
18
+ ko-KR : *KO
19
+ fr : &FR Accueil
20
+ fr-BE : *FR
21
+ fr-CA : *FR
22
+ fr-CH : *FR
23
+ fr-FR : *FR
24
+ fr-LU : *FR
25
+ tr : &TR Ana Sayfa
26
+ # @end locale config
27
+ show_title: false
28
+ articles:
29
+ data_source: paginator.posts
30
+ article_type: BlogPosting
31
+ show_cover: false
32
+ show_excerpt: true
33
+ show_readmore: true
34
+ show_info: true
35
+ ---
36
+ <div class="layout--home">
37
+ {%- include paginator.html -%}
38
+ </div>
39
+ <script>
40
+ {%- include scripts/home.js -%}
41
+ </script>
42
+
43
+ {{ content }}
@@ -0,0 +1,178 @@
1
+ ---
2
+ layout: page
3
+ header: false
4
+ full_width: true
5
+ article_header:
6
+ type: overlay
7
+ align: center
8
+ height: 80vh
9
+ ---
10
+ <div class="layout--landing">
11
+ <div class="heros">
12
+ {%- for _section in page.data.sections -%}
13
+ {%- include snippets/get-nav-url.html path=_section.background_image.src -%}
14
+ {%- assign _url = __return -%}
15
+ {%- if _section.theme == 'light' -%}
16
+ <section class="hero hero--center hero--light" id="hero-{{ forloop.index }}"
17
+ {%- elsif _section.theme == 'dark' -%}
18
+ <section class="hero hero--center hero--dark" id="hero-{{ forloop.index }}"
19
+ {%- else -%}
20
+ <section class="hero hero--center" id="hero-{{ forloop.index }}"
21
+ {%- endif -%}
22
+ {%- if _section.background_color -%}
23
+ style="background-image: url({{ _url }}); background-color: {{ _section.background_color }};">
24
+ {%- else -%}
25
+ style="background-image: url({{ _url }});">
26
+ {%- endif -%}
27
+
28
+ <div class="hero__content">
29
+ <div class="mb-5">
30
+
31
+ <h3>{{ _section.title }}</h3>
32
+ {%- if _section.excerpt-%}
33
+ <p>{{ _section.excerpt }}</p>
34
+ {%- endif -%}
35
+
36
+ {%- if _section.actions -%}
37
+ <ul class="menu">
38
+ {%- for _action in _section.actions -%}
39
+ {%- include snippets/get-nav-url.html path=_action.url -%}
40
+ {%- assign _url = __return -%}
41
+ {%- assign _type = _action.type | default: 'outline-info' -%}
42
+ <li><a class="button button--{{ _type }} button--pill button--lg" href="{{ _url }}">{{ _action.text }}</a></li>
43
+ {%- endfor -%}
44
+ </ul>
45
+ {%- endif -%}
46
+
47
+ </div>
48
+
49
+ {%- if _section.children -%}
50
+ {%- assign _size = _section.children | size -%}
51
+ <div class="grid--container">
52
+ <div class="grid grid--p-3">
53
+
54
+ {%- for child in _section.children -%}
55
+
56
+ {%- if _size >= 2 -%}
57
+ {%- assign _cell_md_col = 6 -%}
58
+ {%- else -%}
59
+ {%- assign _cell_md_col = 12 | divided_by: _size -%}
60
+ {%- endif -%}
61
+
62
+ {%- if _size >= 4 -%}
63
+ {%- assign _cell_lg_col = 3 -%}
64
+ {%- else -%}
65
+ {%- assign _cell_lg_col = 12 | divided_by: _size -%}
66
+ {%- endif -%}
67
+
68
+ <div class="cell cell--12 cell--md-{{ _cell_md_col }} cell--lg-{{ _cell_lg_col }} ">
69
+
70
+ <div class="mb-5">
71
+ <h4>{{ child.title }}</h4>
72
+
73
+ {%- if child.excerpt-%}
74
+ <p>{{ child.excerpt }}</p>
75
+ {%- endif -%}
76
+
77
+ {%- if child.actions -%}
78
+ <ul class="menu">
79
+ {%- for _action in child.actions -%}
80
+ {%- include snippets/get-nav-url.html path=_action.url -%}
81
+ {%- assign _url = __return -%}
82
+ {%- assign _type = _action.type | default: 'outline-info' -%}
83
+ <li><a class="button button--{{ _type }} button--pill button--lg" href="{{ _url }}">{{ _action.text }}</a></li>
84
+ {%- endfor -%}
85
+ </ul>
86
+ {%- endif -%}
87
+ </div>
88
+
89
+ {%- if child.image and child.image.src -%}
90
+
91
+ {%- if child.image.url -%}
92
+ {%- include snippets/get-nav-url.html path=child.image.url -%}
93
+ {%- assign _item_image_url = __return -%}
94
+ {%- else -%}
95
+ {%- assign _item_image_url = nil -%}
96
+ {%- endif -%}
97
+
98
+ {%- include snippets/get-nav-url.html path=child.image.src -%}
99
+ {%- assign _item_image_src = __return -%}
100
+
101
+ {%- if child.image.is_row -%}
102
+ <div class="mb-5">
103
+ {%- endif -%}
104
+ <div class="mx-auto" style="{{ child.image.style }}">
105
+ {%- if _item_image_url -%}
106
+ <a href="{{ _item_image_url }}">
107
+ {%- endif -%}
108
+ <img src="{{ _item_image_src }}"/>
109
+ {%- if _item_image_url -%}
110
+ </a>
111
+ {%- endif -%}
112
+ </div>
113
+ {%- if child.image.is_row -%}
114
+ </div>
115
+ {%- endif -%}
116
+ {%- endif -%}
117
+
118
+ {%- if child.content-%}
119
+ <p>{{ child.content }}</p>
120
+ {%- endif -%}
121
+
122
+ </div>
123
+ {%- endfor-%}
124
+
125
+ </div>
126
+ </div>
127
+ {%- endif -%}
128
+
129
+ {%- if _section.image.full_width == true -%}
130
+ </div> {% comment %} end hero__content {% endcomment %}
131
+ {%- endif -%}
132
+
133
+ {%- if _section.image and _section.image.src -%}
134
+
135
+ {%- if _section.image.url -%}
136
+ {%- include snippets/get-nav-url.html path=_section.image.url -%}
137
+ {%- assign _section_image_url = __return -%}
138
+ {%- else -%}
139
+ {%- assign _section_image_url = nil -%}
140
+ {%- endif -%}
141
+
142
+ {%- include snippets/get-nav-url.html path=_section.image.src -%}
143
+ {%- assign _section_image_src = __return -%}
144
+
145
+ {%- if _section.image.is_row -%}
146
+ <div class="mb-5">
147
+ {%- endif -%}
148
+ <div class="mx-auto" style="{{ _section.image.style }}">
149
+ {%- if _section_image_url -%}
150
+ <a href="{{ _section_image_url }}">
151
+ {%- endif -%}
152
+ {%- if _section.image.full_width == true -%}
153
+ <img class="hero__cover hero__cover--full-width" src="{{ _section_image_src }}"/>
154
+ {%- else -%}
155
+ <img class="hero__cover" src="{{ _section_image_src }}"/>
156
+ {%- endif -%}
157
+ {%- if _section_image_url -%}
158
+ </a>
159
+ {%- endif -%}
160
+ </div>
161
+ {%- if _section.image.is_row -%}
162
+ </div>
163
+ {%- endif -%}
164
+ {%- endif -%}
165
+
166
+ {%- if _section.image.full_width != true -%}
167
+ </div> {% comment %} end hero__content {% endcomment %}
168
+ {%- endif -%}
169
+
170
+ {%- if _section.content-%}
171
+ <p>{{ _section.content }}</p>
172
+ {%- endif -%}
173
+ </section>
174
+ {%- endfor -%}
175
+ </div>
176
+ </div>
177
+
178
+ {{ content }}
@@ -0,0 +1 @@
1
+ {{ content }}