jekyll-theme-hydejack 7.5.2 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -4
  3. data/README.md +139 -86
  4. data/_includes/body/analytics.html +36 -0
  5. data/_includes/{comments.html → body/comments.html} +0 -0
  6. data/_includes/{footer.html → body/footer.html} +4 -2
  7. data/_includes/body/index.html +22 -0
  8. data/_includes/body/main.html +18 -0
  9. data/_includes/{menu.html → body/menu.html} +1 -0
  10. data/_includes/{nav.html → body/nav.html} +0 -0
  11. data/_includes/body/scripts.html +22 -0
  12. data/_includes/{sidebar.html → body/sidebar.html} +19 -6
  13. data/_includes/{about.html → components/about.html} +1 -1
  14. data/_includes/{author.html → components/author.html} +3 -3
  15. data/_includes/{avatar-tag.html → components/avatar-tag.html} +0 -0
  16. data/_includes/{srcset-img.html → components/hy-img.html} +24 -8
  17. data/_includes/{link.html → components/link.html} +0 -0
  18. data/_includes/{message.html → components/message.html} +0 -0
  19. data/_includes/{pagination.html → components/pagination.html} +2 -2
  20. data/_includes/{post-list-item.html → components/post-list-item.html} +0 -0
  21. data/_includes/{post.html → components/post.html} +21 -10
  22. data/_includes/{related-posts.html → components/related-posts.html} +1 -1
  23. data/_includes/components/social-list-item.html +40 -0
  24. data/_includes/components/social.html +23 -0
  25. data/_includes/{tag-list.html → components/tag-list.html} +0 -0
  26. data/_includes/head/index.html +9 -0
  27. data/_includes/head/links.html +7 -5
  28. data/_includes/head/meta.html +3 -3
  29. data/_includes/{page-style.html → head/page-style.html} +1 -1
  30. data/_includes/head/scripts.html +10 -39
  31. data/_includes/head/styles.html +42 -15
  32. data/_includes/header.txt +1 -1
  33. data/_includes/my-body.html +42 -0
  34. data/_includes/my-scripts.html +55 -0
  35. data/_includes/scripts/load-js.js +60 -0
  36. data/_includes/scripts/load-js.min.js +1 -0
  37. data/_includes/{smart-url → smart-url.txt} +0 -0
  38. data/_includes/styles/inline.scss +15 -19
  39. data/_includes/styles/style.scss +20 -17
  40. data/_includes/templates/animation.html +1 -1
  41. data/_includes/templates/back.html +1 -1
  42. data/_includes/templates/cookies-banner.html +1 -1
  43. data/_includes/templates/error.html +1 -1
  44. data/_includes/{templates.html → templates/index.html} +1 -2
  45. data/_includes/templates/loading.html +1 -1
  46. data/_includes/templates/permalink.html +1 -1
  47. data/_layouts/about.html +29 -30
  48. data/_layouts/base.html +20 -62
  49. data/_layouts/blog.html +20 -22
  50. data/_layouts/compress.html +1 -1
  51. data/_layouts/default.html +13 -18
  52. data/_layouts/home.html +11 -16
  53. data/_layouts/list.html +13 -18
  54. data/_layouts/not-found.html +11 -16
  55. data/_layouts/page.html +12 -17
  56. data/_layouts/post.html +15 -20
  57. data/_layouts/redirect.html +11 -16
  58. data/_sass/_mixins.scss +10 -15
  59. data/_sass/_spinner.scss +10 -15
  60. data/_sass/_variables.scss +35 -19
  61. data/_sass/hydejack/__inline/_avatar.scss +33 -32
  62. data/_sass/hydejack/__inline/_base.scss +30 -68
  63. data/_sass/hydejack/__inline/_break-layout.scss +19 -26
  64. data/_sass/hydejack/__inline/_content.scss +29 -34
  65. data/_sass/hydejack/__inline/_footer.scss +19 -26
  66. data/_sass/hydejack/__inline/_images.scss +38 -0
  67. data/_sass/hydejack/__inline/_katex.scss +19 -26
  68. data/_sass/hydejack/__inline/_links.scss +45 -0
  69. data/_sass/hydejack/__inline/_mark-external.scss +19 -26
  70. data/_sass/hydejack/__inline/_menu.scss +28 -35
  71. data/_sass/hydejack/__inline/_sidebar.scss +76 -76
  72. data/_sass/hydejack/__inline/_social.scss +25 -31
  73. data/_sass/hydejack/__inline/_utilities.scss +42 -0
  74. data/_sass/hydejack/__link/_avatar.scss +29 -28
  75. data/_sass/hydejack/__link/_base.scss +19 -83
  76. data/_sass/hydejack/__link/_break-layout.scss +35 -34
  77. data/_sass/hydejack/__link/_content.scss +19 -26
  78. data/_sass/hydejack/__link/_footer.scss +19 -26
  79. data/_sass/hydejack/__link/_images.scss +84 -0
  80. data/_sass/hydejack/__link/_katex.scss +19 -26
  81. data/_sass/hydejack/__link/_links.scss +53 -0
  82. data/_sass/hydejack/__link/_mark-external.scss +19 -26
  83. data/_sass/hydejack/__link/_menu.scss +29 -50
  84. data/_sass/hydejack/__link/_sidebar.scss +71 -118
  85. data/_sass/hydejack/__link/_social.scss +19 -26
  86. data/_sass/hydejack/__link/_utilities.scss +51 -0
  87. data/_sass/hydejack/_avatar.pre.scss +26 -20
  88. data/_sass/hydejack/_base.pre.scss +22 -88
  89. data/_sass/hydejack/_break-layout.pre.scss +26 -23
  90. data/_sass/hydejack/_content.pre.scss +20 -23
  91. data/_sass/hydejack/_footer.pre.scss +10 -15
  92. data/_sass/hydejack/_images.pre.scss +77 -0
  93. data/_sass/hydejack/_katex.pre.scss +10 -15
  94. data/_sass/hydejack/_links.pre.scss +47 -0
  95. data/_sass/hydejack/_mark-external.pre.scss +10 -15
  96. data/_sass/hydejack/_menu.pre.scss +31 -38
  97. data/_sass/hydejack/_sidebar.pre.scss +98 -116
  98. data/_sass/hydejack/_social.pre.scss +16 -20
  99. data/_sass/hydejack/_utilities.pre.scss +43 -0
  100. data/_sass/my-variables.scss +0 -8
  101. data/_sass/pooleparty/__inline/_base.scss +19 -28
  102. data/_sass/pooleparty/__inline/_code.scss +19 -26
  103. data/_sass/pooleparty/__inline/_footer.scss +19 -26
  104. data/_sass/pooleparty/__inline/_footnotes.scss +19 -26
  105. data/_sass/pooleparty/__inline/_message.scss +19 -26
  106. data/_sass/pooleparty/__inline/_pagination.scss +19 -26
  107. data/_sass/pooleparty/__inline/_posts.scss +19 -26
  108. data/_sass/pooleparty/__inline/_read-more.scss +25 -0
  109. data/_sass/pooleparty/__inline/_related.scss +19 -26
  110. data/_sass/pooleparty/__inline/_table.scss +19 -26
  111. data/_sass/pooleparty/__inline/_type.scss +25 -39
  112. data/_sass/pooleparty/__link/_base.scss +19 -26
  113. data/_sass/pooleparty/__link/_code.scss +19 -26
  114. data/_sass/pooleparty/__link/_footer.scss +19 -26
  115. data/_sass/pooleparty/__link/_footnotes.scss +30 -26
  116. data/_sass/pooleparty/__link/_message.scss +19 -26
  117. data/_sass/pooleparty/__link/_pagination.scss +19 -26
  118. data/_sass/pooleparty/__link/_posts.scss +20 -27
  119. data/_sass/pooleparty/__link/_read-more.scss +45 -0
  120. data/_sass/pooleparty/__link/_related.scss +19 -26
  121. data/_sass/pooleparty/__link/_table.scss +19 -26
  122. data/_sass/pooleparty/__link/_type.scss +27 -48
  123. data/_sass/pooleparty/_base.pre.scss +10 -17
  124. data/_sass/pooleparty/_code.pre.scss +10 -15
  125. data/_sass/pooleparty/_footer.pre.scss +10 -15
  126. data/_sass/pooleparty/_footnotes.pre.scss +21 -15
  127. data/_sass/pooleparty/_message.pre.scss +10 -15
  128. data/_sass/pooleparty/_pagination.pre.scss +10 -15
  129. data/_sass/pooleparty/_posts.pre.scss +11 -16
  130. data/_sass/pooleparty/_read-more.pre.scss +36 -0
  131. data/_sass/pooleparty/_related.pre.scss +10 -15
  132. data/_sass/pooleparty/_table.pre.scss +10 -15
  133. data/_sass/pooleparty/_type.pre.scss +24 -50
  134. data/assets/Resume.pdf +0 -0
  135. data/assets/bower.json +3 -3
  136. data/assets/bower_components/fontfaceobserver/.bower.json +33 -0
  137. data/assets/bower_components/fontfaceobserver/.gitignore +2 -0
  138. data/assets/bower_components/fontfaceobserver/.travis.yml +16 -0
  139. data/assets/bower_components/fontfaceobserver/Gruntfile.js +101 -0
  140. data/assets/bower_components/fontfaceobserver/LICENSE +23 -0
  141. data/assets/bower_components/fontfaceobserver/bower.json +22 -0
  142. data/assets/bower_components/fontfaceobserver/exports.js +8 -0
  143. data/assets/bower_components/fontfaceobserver/externs-commonjs.js +10 -0
  144. data/assets/bower_components/fontfaceobserver/externs.js +15 -0
  145. data/assets/bower_components/fontfaceobserver/fontfaceobserver.js +12 -0
  146. data/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js +8 -0
  147. data/assets/bower_components/fontfaceobserver/package.json +57 -0
  148. data/assets/bower_components/fontfaceobserver/src/descriptors.js +10 -0
  149. data/assets/bower_components/fontfaceobserver/src/observer.js +349 -0
  150. data/assets/bower_components/fontfaceobserver/src/ruler.js +130 -0
  151. data/assets/bower_components/fontfaceobserver/test/assets/index.html +8 -0
  152. data/assets/bower_components/fontfaceobserver/test/assets/late.css +1 -0
  153. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
  154. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
  155. data/assets/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
  156. data/assets/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
  157. data/assets/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
  158. data/assets/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
  159. data/assets/bower_components/fontfaceobserver/test/deps.js +5 -0
  160. data/assets/bower_components/fontfaceobserver/test/index.html +97 -0
  161. data/assets/bower_components/fontfaceobserver/test/observer-test.js +465 -0
  162. data/assets/bower_components/fontfaceobserver/test/ruler-test.js +112 -0
  163. data/assets/bower_components/fontfaceobserver/vendor/google/base.js +1489 -0
  164. data/assets/bower_components/katex/.bower.json +7 -6
  165. data/assets/bower_components/katex/dist/contrib/auto-render.js +790 -0
  166. data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
  167. data/assets/bower_components/katex/dist/contrib/copy-tex.css +12 -0
  168. data/assets/bower_components/katex/dist/contrib/copy-tex.js +174 -0
  169. data/assets/bower_components/katex/dist/contrib/copy-tex.min.css +1 -0
  170. data/assets/bower_components/katex/dist/contrib/copy-tex.min.js +1 -0
  171. data/assets/bower_components/katex/dist/contrib/mathtex-script-type.js +113 -0
  172. data/assets/bower_components/katex/dist/contrib/mathtex-script-type.min.js +1 -0
  173. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
  174. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
  175. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  176. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  177. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  178. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  179. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  180. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  181. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  182. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  183. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  184. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  185. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  186. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  187. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  188. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
  189. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
  190. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
  191. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  192. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  193. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  194. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
  195. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
  196. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
  197. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
  198. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
  199. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
  200. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
  201. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
  202. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
  203. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  204. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  205. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  206. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  207. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  208. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  209. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  210. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  211. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  212. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
  213. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
  214. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
  215. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
  216. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
  217. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  218. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
  219. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
  220. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  221. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
  222. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
  223. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  224. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
  225. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
  226. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  227. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  228. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  229. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  230. data/assets/bower_components/katex/dist/katex.css +129 -209
  231. data/assets/bower_components/katex/dist/katex.js +14381 -9023
  232. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  233. data/assets/bower_components/katex/dist/katex.min.js +1 -6
  234. data/assets/bower_components/katex/flow-typed/match-at.js +3 -0
  235. data/assets/bower_components/katex/flow-typed/object-assign.js +6 -0
  236. data/assets/bower_components/katex/package-lock.json +13848 -0
  237. data/assets/css/hydejack-8.0.0.css +3 -0
  238. data/assets/img/default-1.jpg +0 -0
  239. data/assets/img/example-content-ii.jpg +0 -0
  240. data/assets/img/example-content-iii.jpg +0 -0
  241. data/assets/img/hydejack-8.jpg +0 -0
  242. data/assets/img/hydejack-8@0,25x.jpg +0 -0
  243. data/assets/img/hydejack-8@0,5x.jpg +0 -0
  244. data/assets/img/projects/hy-drawer.svg +12 -0
  245. data/assets/img/projects/hy-img.svg +17 -0
  246. data/assets/img/projects/hy-push-state.svg +13 -0
  247. data/assets/img/resume.png +0 -0
  248. data/assets/img/sidebar-bg.jpg +0 -0
  249. data/assets/img/swipe.svg +22 -0
  250. data/assets/img/w3m.png +0 -0
  251. data/assets/js/hydejack-8.0.0.js +46 -0
  252. data/assets/js/sw.js +318 -0
  253. data/assets/manifest.json +4 -3
  254. data/assets/version.json +1 -1
  255. data/licenses/Apache-2.0.md +1 -4
  256. data/licenses/GPL-3.0.md +1 -4
  257. data/licenses/MIT.md +1 -4
  258. data/licenses/PRO.md +2 -6
  259. data/licenses/README.md +10 -0
  260. data/licenses/W3C.md +31 -0
  261. metadata +107 -94
  262. data/_includes/blog.html +0 -5
  263. data/_includes/body.html +0 -25
  264. data/_includes/head.html +0 -5
  265. data/_includes/scripts/load-js-deferred.js +0 -68
  266. data/_includes/scripts/load-js-deferred.min.js +0 -1
  267. data/_includes/social-list-item.html +0 -34
  268. data/_includes/social.html +0 -20
  269. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.eot +0 -0
  270. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
  271. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
  272. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.eot +0 -0
  273. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.eot +0 -0
  274. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.eot +0 -0
  275. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.eot +0 -0
  276. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.eot +0 -0
  277. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.eot +0 -0
  278. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  279. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  280. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  281. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.eot +0 -0
  282. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.eot +0 -0
  283. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.ttf +0 -0
  284. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff +0 -0
  285. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Regular.woff2 +0 -0
  286. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.eot +0 -0
  287. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.eot +0 -0
  288. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.eot +0 -0
  289. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.eot +0 -0
  290. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.eot +0 -0
  291. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.eot +0 -0
  292. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.eot +0 -0
  293. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.eot +0 -0
  294. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.eot +0 -0
  295. data/assets/bower_components/webfontloader/.bower.json +0 -38
  296. data/assets/bower_components/webfontloader/CHANGELOG +0 -419
  297. data/assets/bower_components/webfontloader/Gemfile +0 -3
  298. data/assets/bower_components/webfontloader/LICENSE +0 -176
  299. data/assets/bower_components/webfontloader/Rakefile +0 -269
  300. data/assets/bower_components/webfontloader/bower.json +0 -23
  301. data/assets/bower_components/webfontloader/browsers.json +0 -133
  302. data/assets/bower_components/webfontloader/externs.js +0 -19
  303. data/assets/bower_components/webfontloader/package.json +0 -37
  304. data/assets/bower_components/webfontloader/src/closure.js +0 -2
  305. data/assets/bower_components/webfontloader/src/core/cssclassname.js +0 -46
  306. data/assets/bower_components/webfontloader/src/core/domhelper.js +0 -405
  307. data/assets/bower_components/webfontloader/src/core/eventdispatcher.js +0 -195
  308. data/assets/bower_components/webfontloader/src/core/font.js +0 -140
  309. data/assets/bower_components/webfontloader/src/core/fontmodule.js +0 -16
  310. data/assets/bower_components/webfontloader/src/core/fontmoduleloader.js +0 -47
  311. data/assets/bower_components/webfontloader/src/core/fontruler.js +0 -60
  312. data/assets/bower_components/webfontloader/src/core/fontwatcher.js +0 -171
  313. data/assets/bower_components/webfontloader/src/core/fontwatchrunner.js +0 -249
  314. data/assets/bower_components/webfontloader/src/core/initialize.js +0 -97
  315. data/assets/bower_components/webfontloader/src/core/nativefontwatchrunner.js +0 -69
  316. data/assets/bower_components/webfontloader/src/core/stylesheetwaiter.js +0 -48
  317. data/assets/bower_components/webfontloader/src/core/webfont.js +0 -97
  318. data/assets/bower_components/webfontloader/src/modules.yml +0 -34
  319. data/assets/bower_components/webfontloader/src/modules/custom.js +0 -63
  320. data/assets/bower_components/webfontloader/src/modules/fontdeck.js +0 -66
  321. data/assets/bower_components/webfontloader/src/modules/google/fontapiparser.js +0 -181
  322. data/assets/bower_components/webfontloader/src/modules/google/fontapiurlbuilder.js +0 -77
  323. data/assets/bower_components/webfontloader/src/modules/google/googlefontapi.js +0 -54
  324. data/assets/bower_components/webfontloader/src/modules/monotype.js +0 -110
  325. data/assets/bower_components/webfontloader/src/modules/typekit.js +0 -73
  326. data/assets/bower_components/webfontloader/webfontloader.gemspec +0 -191
  327. data/assets/bower_components/webfontloader/webfontloader.js +0 -17
  328. data/assets/js/hydejack-7.5.2.js +0 -249
@@ -0,0 +1,55 @@
1
+ {% comment %}
2
+ <!--
3
+ Example code for the CloudFlare mail protection script.
4
+ CloudFlare will inject this on every page, but due to Hydejack's push state approach to page loading,
5
+ it will only run on the initial page.
6
+ The snippet below will run the code on every `hy-push-state-load` event instead.
7
+ -->
8
+ <script>
9
+ document.getElementsByTagName('hy-push-state')[0].addEventListener('hy-push-state-load', function (e) {
10
+ function e(e){
11
+ (console.error?console.error:console.log).call(console,e)
12
+ }
13
+
14
+ function t(e){
15
+ return l.innerHTML='<a href="'+e.replace(/"/g,"&quot;")+'"></a>',l.childNodes[0].getAttribute("href")
16
+ }
17
+
18
+ function r(e,t){
19
+ var r=e.substr(t,2);return parseInt(r,16)
20
+ }
21
+
22
+ function n(e,n){
23
+ for(var o="",c=r(e,n),a=n+2;a<e.length;a+=2){
24
+ var l=r(e,a)^c;
25
+ o+=String.fromCharCode(l)
26
+ }
27
+ return t(o)
28
+ }
29
+
30
+ var o="/cdn-cgi/l/email-protection#",
31
+ c=".__cf_email__",
32
+ a="data-cfemail",
33
+ l=document.createElement("div");
34
+
35
+ !function(){
36
+ for(var t=document.getElementsByTagName("a"),r=0;r<t.length;r++)
37
+ try{
38
+ var c=t[r],a=c.href.indexOf(o);
39
+ a>-1&&(c.href="mailto:"+n(c.href,a+o.length))
40
+ }catch(t){
41
+ e(t)
42
+ }
43
+ }(),
44
+ function(){
45
+ for(var t=document.querySelectorAll(c),r=0;r<t.length;r++)
46
+ try{
47
+ var o=t[r],l=n(o.getAttribute(a),0),i=document.createTextNode(l);
48
+ o.parentNode.replaceChild(i,o)
49
+ }catch(t){
50
+ e(t)
51
+ }
52
+ }()
53
+ });
54
+ </script>
55
+ {% endcomment %}
@@ -0,0 +1,60 @@
1
+ // Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
2
+ //
3
+ // This program is free software: you can redistribute it and/or modify
4
+ // it under the terms of the GNU General Public License as published by
5
+ // the Free Software Foundation, either version 3 of the License, or
6
+ // (at your option) any later version.
7
+ //
8
+ // This program is distributed in the hope that it will be useful,
9
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ // GNU General Public License for more details.
12
+ //
13
+ // You should have received a copy of the GNU General Public License
14
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
16
+ // Compress via uglify:
17
+ // uglifyjs load-js.js -c -m > load-js.min.js
18
+ !function(window, document) {
19
+ 'use strict';
20
+
21
+ function addEvent(el, type, cb, opts) {
22
+ if (el.addEventListener) el.addEventListener(type, cb, opts);
23
+ else if (el.attachEvent) el.attachEvent('on' + type, cb);
24
+ else el['on' + type] = cb;
25
+ }
26
+
27
+ window.loadJS = function(src, cb) {
28
+ var script = document.createElement('script');
29
+ script.src = src;
30
+ if (cb) addEvent(script, 'load', cb, { once: true });
31
+ var ref = document.scripts[0];
32
+ ref.parentNode.insertBefore(script, ref);
33
+
34
+ return script;
35
+ };
36
+
37
+ window._loaded = false;
38
+ window.loadJSDeferred = function(src, cb) {
39
+ var script = document.createElement('script');
40
+ script.src = src;
41
+
42
+ function insert() {
43
+ window._loaded = true;
44
+ if (cb) addEvent(script, 'load', cb, { once: true });
45
+ var ref = document.scripts[0];
46
+ ref.parentNode.insertBefore(script, ref);
47
+ }
48
+
49
+ if (window._loaded) insert();
50
+ else addEvent(window, 'load', insert, { once: true });
51
+
52
+ return script;
53
+ };
54
+
55
+ window.setRel = window.setRelStylesheet = function (id) {
56
+ var link = document.getElementById(id);
57
+ function set() { this.rel = 'stylesheet'; }
58
+ addEvent(link, 'load', set, { once: true });
59
+ };
60
+ }(window, document);
@@ -0,0 +1 @@
1
+ !function(e,t){"use strict";function n(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}e.loadJS=function(e,r){var o=t.createElement("script");o.src=e,r&&n(o,"load",r,{once:!0});var a=t.scripts[0];return a.parentNode.insertBefore(o,a),o},e._loaded=!1,e.loadJSDeferred=function(r,o){function a(){e._loaded=!0,o&&n(d,"load",o,{once:!0});var r=t.scripts[0];r.parentNode.insertBefore(d,r)}var d=t.createElement("script");return d.src=r,e._loaded?a():n(e,"load",a,{once:!0}),d},e.setRel=e.setRelStylesheet=function(e){function n(){this.rel="stylesheet"}var r=t.getElementById(e);r.addEventListener?r.addEventListener("load",n,{once:!0}):r.onload=n}}(window,document);
File without changes
@@ -18,8 +18,8 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  // SOFTWARE.
20
20
 
21
- {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
22
- {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
21
+ {% assign font_heading = site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" %}
22
+ {% assign font = site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" %}
23
23
 
24
24
  $font-family-heading: {{ font_heading }};
25
25
  $font-family: {{ font }};
@@ -28,9 +28,6 @@ $font-family: {{ font }};
28
28
  @import "my-variables";
29
29
  @import "mixins";
30
30
 
31
- // @import "reboot-mod";
32
-
33
-
34
31
  @import "pooleparty/__inline/base";
35
32
  @import "pooleparty/__inline/type";
36
33
  @import "pooleparty/__inline/table";
@@ -39,10 +36,14 @@ $font-family: {{ font }};
39
36
  @import "pooleparty/__inline/code";
40
37
  @import "pooleparty/__inline/posts";
41
38
  @import "pooleparty/__inline/related";
39
+ @import "pooleparty/__inline/read-more";
42
40
  @import "pooleparty/__inline/message";
43
41
  @import "pooleparty/__inline/pagination";
44
42
 
45
43
  @import "hydejack/__inline/base";
44
+ @import "hydejack/__inline/utilities";
45
+ @import "hydejack/__inline/links";
46
+ @import "hydejack/__inline/images";
46
47
  @import "hydejack/__inline/sidebar";
47
48
  @import "hydejack/__inline/social";
48
49
  @import "hydejack/__inline/menu";
@@ -51,23 +52,18 @@ $font-family: {{ font }};
51
52
  @import "hydejack/__inline/katex";
52
53
  @import "hydejack/__inline/footer";
53
54
 
54
- // {% unless site.hydejack.no_mark_external or site.no_mark_external %}
55
- // @import "hydejack/__link/mark-external";
56
- // {% endunless %}
57
- // {% unless site.hydejack.no_break_layout %}
58
- // @import "hydejack/__link/break-layout";
59
- // {% endunless %}
60
-
61
- // @import "syntax";
62
- // @import "spinner";
63
-
64
55
  @import "my-inline";
65
56
  // @import "my-style";
66
57
 
67
58
  {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
68
- {% assign font = font | split:',' | shift | join:',' %}
69
- {% assign font_heading = font_heading | split:',' | shift | join:',' %}
59
+ {% assign font2 = font | split:',' | shift | join:',' %}
60
+ {% assign font_heading2 = font_heading | split:',' | shift | join:',' %}
70
61
  {% endunless %}
71
62
 
72
- html { font-family: {{ font | default:"serif" }}; }
73
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading | default:"serif" }}; }
63
+ html { font-family: {{ font2 | default:"serif" }}; }
64
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading2 | default:"serif" }}; }
65
+
66
+ .font-active {
67
+ font-family: $font-family;
68
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
69
+ }
@@ -18,8 +18,8 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  // SOFTWARE.
20
20
 
21
- {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
22
- {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
21
+ {% assign font_heading = site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" %}
22
+ {% assign font = site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" %}
23
23
 
24
24
  $font-family-heading: {{ font_heading }};
25
25
  $font-family: {{ font }};
@@ -39,10 +39,14 @@ $font-family: {{ font }};
39
39
  @import "pooleparty/__link/code";
40
40
  @import "pooleparty/__link/posts";
41
41
  @import "pooleparty/__link/related";
42
+ @import "pooleparty/__link/read-more";
42
43
  @import "pooleparty/__link/message";
43
44
  @import "pooleparty/__link/pagination";
44
45
 
45
46
  @import "hydejack/__link/base";
47
+ @import "hydejack/__link/utilities";
48
+ @import "hydejack/__link/links";
49
+ @import "hydejack/__link/images";
46
50
  @import "hydejack/__link/sidebar";
47
51
  @import "hydejack/__link/social";
48
52
  @import "hydejack/__link/menu";
@@ -63,16 +67,6 @@ $font-family: {{ font }};
63
67
 
64
68
  // @import "my-inline";
65
69
  @import "my-style";
66
-
67
- {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
68
- .wf-active {
69
- font-family: {{ font }};
70
-
71
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
72
- font-family: {{ font_heading }};
73
- }
74
- }
75
- {% endunless %}
76
70
  {% else %}
77
71
  @import "pooleparty/_base.pre.scss";
78
72
  @import "pooleparty/_type.pre.scss";
@@ -82,10 +76,14 @@ $font-family: {{ font }};
82
76
  @import "pooleparty/_code.pre.scss";
83
77
  @import "pooleparty/_posts.pre.scss";
84
78
  @import "pooleparty/_related.pre.scss";
79
+ @import "pooleparty/_read-more.pre.scss";
85
80
  @import "pooleparty/_message.pre.scss";
86
81
  @import "pooleparty/_pagination.pre.scss";
87
82
 
88
83
  @import "hydejack/_base.pre.scss";
84
+ @import "hydejack/_utilities.pre.scss";
85
+ @import "hydejack/_links.pre.scss";
86
+ @import "hydejack/_images.pre.scss";
89
87
  @import "hydejack/_sidebar.pre.scss";
90
88
  @import "hydejack/_social.pre.scss";
91
89
  @import "hydejack/_menu.pre.scss";
@@ -107,11 +105,16 @@ $font-family: {{ font }};
107
105
  @import "my-inline";
108
106
  @import "my-style";
109
107
 
110
- html {
111
- font-family: {{ font }};
112
- }
108
+ {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
109
+ {% assign font = font | split:',' | shift | join:',' %}
110
+ {% assign font_heading = font_heading | split:',' | shift | join:',' %}
111
+ {% endunless %}
112
+
113
+ html { font-family: {{ font | default:"serif" }}; }
114
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading | default:"serif" }}; }
113
115
 
114
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
115
- font-family: {{ font_heading }};
116
+ .font-active {
117
+ font-family: $font-family;
118
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
116
119
  }
117
120
  {% endunless %}
@@ -1,4 +1,4 @@
1
- <template id="_animation-template">
1
+ <template id="_animation-template" hidden>
2
2
  <div class="animation-main fixed-top">
3
3
  <div class="content">
4
4
  <div class="page"></div>
@@ -1,4 +1,4 @@
1
- <template id="_back-template">
1
+ <template id="_back-template" hidden>
2
2
  <a id="_back" class="back nav-btn no-hover">
3
3
  <span class="sr-only">{{ strings.back | default:"Back" }}</span>
4
4
  <span class="icon-arrow-left2"></span>
@@ -1,4 +1,4 @@
1
- <template id="_cookies-banner-template">
1
+ <template id="_cookies-banner-template" hidden>
2
2
  <div id="_cookies-banner" class="navbar fixed-top CookiesOK">
3
3
  <div class="content">
4
4
  <div class="nav-btn-bar">
@@ -1,4 +1,4 @@
1
- <template id="_error-template">
1
+ <template id="_error-template" hidden>
2
2
  <div class="page">
3
3
  <h1 class="page-title">{{ strings.error.title | default:"Error" }}</h1>
4
4
  {% capture link %}<a class="this-link" href=""></a>{% endcapture %}
@@ -1,6 +1,5 @@
1
1
  {% assign strings = site.data.strings %}
2
- <hr class="sr-only"/>
3
- <h2 class="sr-only">{{ strings.templates | default: "Templates"}}{{ strings.colon | default:":" }}</h2>
2
+ <h2 class="sr-only" hidden>{{ strings.templates | default: "Templates"}}{{ strings.colon | default:":" }}</h2>
4
3
 
5
4
  {% include templates/animation.html %}
6
5
  {% include templates/loading.html %}
@@ -1,4 +1,4 @@
1
- <template id="_loading-template">
1
+ <template id="_loading-template" hidden>
2
2
  <div class="loading">
3
3
  <span class="sr-only">{{ strings.loading | default:"Loading…" }}</span>
4
4
  <span class="icon-cog"></span>
@@ -1,4 +1,4 @@
1
- <template id="_permalink-template">
1
+ <template id="_permalink-template" hidden>
2
2
  <a href="#" class="permalink">
3
3
  <span class="sr-only">{{ strings.permalink | default:"Permalink" }}</span>
4
4
  <span class="{{ strings.permalink_icon | default:"icon-link" }}"></span>
@@ -1,44 +1,43 @@
1
1
  ---
2
- # Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
2
+ # Copyright (c) 2018 Florian Klampfer <https://qwtel.com/>
3
3
  #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
4
+ # This program is free software: you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License as published by
6
+ # the Free Software Foundation, either version 3 of the License, or
7
+ # (at your option) any later version.
10
8
  #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
13
  #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- # SOFTWARE.
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
21
16
 
22
17
  layout: base
23
18
  ---
24
19
 
25
- {% assign plugins = site.plugins | default:site.gems %}
26
-
27
20
  <article class="page" role="article">
28
- {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
29
-
30
- {% if author.picture %}
31
- {% include srcset-img.html class="avatar" img=author.picture alt=author.name %}
32
- {% elsif plugins contains 'jekyll-avatar' %}
33
- {% assign avatar = author.social.github | default:author.github.username | default:author.github %}
34
- {% include avatar-tag.html user=avatar %}
21
+ {% if content contains "<!--author-->" %}
22
+ {% assign plugins = site.plugins | default:site.gems %}
23
+ {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
24
+ {% capture author_x %}
25
+ {% if author.picture %}
26
+ {% include components/hy-img.html class="avatar" img=author.picture alt=author.name %}
27
+ {% elsif plugins contains 'jekyll-avatar' %}
28
+ {% assign avatar = author.social.github | default:author.github.username | default:author.github %}
29
+ {% include components/avatar-tag.html user=avatar %}
30
+ {% endif %}
31
+
32
+ {{ author.about | markdownify }}
33
+ {% endcapture %}
34
+ {% assign content = content | replace:"<!--author-->", author_x %}
35
35
  {% endif %}
36
36
 
37
- <h1 class="page-title hr">{{ page.title }}</h1>
38
-
39
- {{ author.about | markdownify }}
40
-
41
- {% include message.html text=page.description hide=page.hide_description alt="" %}
37
+ <header>
38
+ <h1 class="page-title">{{ page.title }}</h1>
39
+ {% include components/message.html text=page.description hide=page.hide_description %}
40
+ </header>
42
41
 
43
42
  {{ content }}
44
43
  </article>
@@ -1,80 +1,38 @@
1
1
  ---
2
- # Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
2
+ # Copyright (c) 2018 Florian Klampfer <https://qwtel.com/>
3
3
  #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
4
+ # This program is free software: you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License as published by
6
+ # the Free Software Foundation, either version 3 of the License, or
7
+ # (at your option) any later version.
10
8
  #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
13
  #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- # SOFTWARE.
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
21
16
 
22
17
  layout: compress
23
18
  ---
24
19
 
25
- {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
26
20
  {% assign plugins = site.plugins | default:site.gems %}
27
21
 
28
- {% if plugins contains 'jekyll-seo-tag' %}
29
- {% assign color = site.accent_color | default:'#4fb1ba' %}
30
- {% assign image = site.accent_image | default:'/assets/img/sidebar-bg.jpg' %}
31
-
32
- {% if page.categories.size > 0 %}
33
- {% assign category_name = page.categories.first %}
34
- {% assign category = site.featured_categories | where: "slug", category_name | first %}
35
- {% if category.accent_color %}{% assign color = category.accent_color %}{% endif %}
36
- {% if category.accent_image %}{% assign image = category.accent_image %}{% endif %}
37
- {% elsif page.tags.size > 0 %}
38
- {% assign tag_name = page.tags.first %}
39
- {% assign tag = site.featured_tags | where: "slug", tag_name | first %}
40
- {% if tag.accent_color %}{% assign color = tag.accent_color %}{% endif %}
41
- {% if tag.accent_image %}{% assign image = tag.accent_image %}{% endif %}
42
- {% elsif author %}
43
- {% if author.accent_color %}{% assign color = author.accent_color %}{% endif %}
44
- {% if author.accent_image %}{% assign image = author.accent_image %}{% endif %}
45
- {% endif %}
46
-
47
- {% if page.accent_color %}{% assign color = page.accent_color %}{% endif %}
48
- {% if page.accent_image %}{% assign image = page.accent_image %}{% endif %}
49
-
50
- {% else %}
51
- {% assign color = site.accent_color | default:site.color | default:'#4fb1ba' %}
52
- {% assign image = site.accent_image | default:site.image | default:'/assets/img/sidebar-bg.jpg' %}
22
+ {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
53
23
 
54
- {% if page.categories.size > 0 %}
55
- {% assign category_name = page.categories.first %}
56
- {% assign category = site.featured_categories | where: "slug", category_name | first %}
57
- {% if category.accent_color or category.color %}{% assign color = category.accent_color | default:category.color %}{% endif %}
58
- {% if category.accent_image or category.image %}{% assign image = category.accent_image | default:category.image %}{% endif %}
59
- {% elsif page.tags.size > 0 %}
60
- {% assign tag_name = page.tags.first %}
61
- {% assign tag = site.featured_tags | where: "slug", tag_name | first %}
62
- {% if tag.accent_color %}{% assign color = tag.accent_color | default:tag.color %}{% endif %}
63
- {% if tag.accent_image %}{% assign image = tag.accent_image | default:tag.image %}{% endif %}
64
- {% elsif author %}
65
- {% if author.accent_color or author.color %}{% assign color = author.accent_color | default:author.color %}{% endif %}
66
- {% if author.accent_image or author.image %}{% assign image = author.accent_image | default:author.image %}{% endif %}
67
- {% endif %}
24
+ {% assign color = site.accent_color | default:'#4fb1ba' %}
25
+ {% assign theme_color = site.theme_color | default:'#193747' %}
26
+ {% assign image = site.accent_image | default:'/assets/img/sidebar-bg.jpg' %}
68
27
 
69
- {% if page.accent_color or page.color %}{% assign color = page.accent_color | default:page.color %}{% endif %}
70
- {% if page.accent_image or page.image %}{% assign image = page.accent_image | default:page.image %}{% endif %}
71
- {% endif %}
28
+ {% if page.accent_color %}{% assign color = page.accent_color %}{% endif %}
29
+ {% if page.theme_color %}{% assign theme_color = page.theme_color %}{% endif %}
30
+ {% if page.accent_image %}{% assign image = page.accent_image %}{% endif %}
72
31
 
73
32
  <head>
74
- {% include head.html %}
33
+ {% include head/index.html %}
75
34
  </head>
76
35
 
77
36
  <body>
78
- {% include body.html %}
79
- {% include templates.html %}
37
+ {% include body/index.html %}
80
38
  </body>