jekyll-theme-editorial 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. checksums.yaml +7 -0
  2. data/404.html +6 -0
  3. data/LICENSE.txt +63 -0
  4. data/README.md +1213 -0
  5. data/_config.yml +306 -0
  6. data/_data/categories.yml +38 -0
  7. data/_data/comments/posts/amet-varius-aliquam/20200511110657-jimbob-hexagonpants.yml +8 -0
  8. data/_data/comments/posts/amet-varius-aliquam/20200513010934-isabella-roundtoes.yml +15 -0
  9. data/_data/comments/posts/amet-varius-aliquam/20200514191919-hakira-tusunaba.yaml +8 -0
  10. data/_data/comments/posts/amet-varius-aliquam/20200515235959-jimbob-hexagonpants.yml +8 -0
  11. data/_data/features.yml +15 -0
  12. data/_data/menus.yml +42 -0
  13. data/_data/scripts.yml +13 -0
  14. data/_data/social.yml +140 -0
  15. data/_data/tags.yml +50 -0
  16. data/_data/taxonomy.yml +87 -0
  17. data/_includes/404.html +20 -0
  18. data/_includes/archives_menu.html +61 -0
  19. data/_includes/article.html +47 -0
  20. data/_includes/articles.html +42 -0
  21. data/_includes/author.html +73 -0
  22. data/_includes/authors.html +21 -0
  23. data/_includes/authors_byline.html +63 -0
  24. data/_includes/banner.html +10 -0
  25. data/_includes/categories.html +15 -0
  26. data/_includes/comment.html +43 -0
  27. data/_includes/comment_form.html +43 -0
  28. data/_includes/comments.html +20 -0
  29. data/_includes/contact.html +42 -0
  30. data/_includes/custom_head.html +6 -0
  31. data/_includes/date_modified.html +6 -0
  32. data/_includes/disqus_comments.html +19 -0
  33. data/_includes/feature.html +7 -0
  34. data/_includes/features.html +10 -0
  35. data/_includes/footer.html +4 -0
  36. data/_includes/head.html +20 -0
  37. data/_includes/item_authors.html +27 -0
  38. data/_includes/item_date.html +32 -0
  39. data/_includes/item_image.html +30 -0
  40. data/_includes/list_item.html +12 -0
  41. data/_includes/menu.html +110 -0
  42. data/_includes/mini-posts.html +32 -0
  43. data/_includes/modal.html +12 -0
  44. data/_includes/more_button.html +3 -0
  45. data/_includes/newsletter_signup.html +22 -0
  46. data/_includes/page_header.html +77 -0
  47. data/_includes/pages.html +79 -0
  48. data/_includes/pagination.html +22 -0
  49. data/_includes/post_header.html +52 -0
  50. data/_includes/post_nav.html +14 -0
  51. data/_includes/posts.html +62 -0
  52. data/_includes/projects.html +90 -0
  53. data/_includes/responsive_banner.html +20 -0
  54. data/_includes/scripts.html +22 -0
  55. data/_includes/search.html +11 -0
  56. data/_includes/section_header.html +3 -0
  57. data/_includes/series.html +32 -0
  58. data/_includes/sidebar.html +11 -0
  59. data/_includes/signin_button.html +4 -0
  60. data/_includes/site_header.html +9 -0
  61. data/_includes/social_media.html +14 -0
  62. data/_includes/social_media_list.html +14 -0
  63. data/_includes/submenu.html +25 -0
  64. data/_includes/tags.html +15 -0
  65. data/_layouts/archive.html +32 -0
  66. data/_layouts/author.html +19 -0
  67. data/_layouts/category.html +23 -0
  68. data/_layouts/default.html +29 -0
  69. data/_layouts/home.html +6 -0
  70. data/_layouts/page.html +16 -0
  71. data/_layouts/post.html +35 -0
  72. data/_layouts/project.html +24 -0
  73. data/_layouts/tag.html +23 -0
  74. data/_pages/about.md +37 -0
  75. data/_pages/archives.html +134 -0
  76. data/_pages/categories.html +94 -0
  77. data/_pages/elements.html +403 -0
  78. data/_pages/people.html +26 -0
  79. data/_pages/posts.html +11 -0
  80. data/_pages/privacy.md +52 -0
  81. data/_pages/projects.html +9 -0
  82. data/_pages/signin.md +31 -0
  83. data/_pages/tags.html +133 -0
  84. data/_pages/terms.md +44 -0
  85. data/_people/augustus.md +27 -0
  86. data/_people/aurelius.md +29 -0
  87. data/_people/julia.md +36 -0
  88. data/_people/petunia.md +26 -0
  89. data/_posts/2020-01-01-Interdum-aenean.md +47 -0
  90. data/_posts/2020-01-02-mulla-amet-dolore.md +38 -0
  91. data/_posts/2020-01-03-tempus-ullamcorper.md +122 -0
  92. data/_posts/2020-01-04-feugiat-lorem-aenean.md +35 -0
  93. data/_posts/2020-01-04-sed-etiam-facilis.md +72 -0
  94. data/_posts/2020-02-01-amet-varius-aliquam.md +27 -0
  95. data/_posts/2020-02-03-cranky-polar-bears-play-hooky-from-fishing-school.md +35 -0
  96. data/_posts/2020-02-07-high-septon-or-should-we-all-just-go-marching-along.md +43 -0
  97. data/_posts/2020-02-14-stupid-computers-and-the-games-they-play-with-our-emotions.md +30 -0
  98. data/_posts/2020-02-28-look-at-my-great-tatoos-everybody.md +31 -0
  99. data/_projects/feugiat_valley.md +32 -0
  100. data/_projects/ipsum_flats.md +42 -0
  101. data/_projects/lorem_heights.md +36 -0
  102. data/_projects/tempus_hills.md +37 -0
  103. data/_samples/page-template.md +48 -0
  104. data/_samples/people-template.md +51 -0
  105. data/_samples/post-template.md +38 -0
  106. data/_samples/project-template.md +47 -0
  107. data/_sass/base/_page.scss +42 -0
  108. data/_sass/base/_reset.scss +70 -0
  109. data/_sass/base/_typography.scss +186 -0
  110. data/_sass/components/_actions.scss +57 -0
  111. data/_sass/components/_box.scss +20 -0
  112. data/_sass/components/_button.scss +79 -0
  113. data/_sass/components/_contact.scss +41 -0
  114. data/_sass/components/_features.scss +150 -0
  115. data/_sass/components/_form.scss +173 -0
  116. data/_sass/components/_icon.scss +27 -0
  117. data/_sass/components/_icons.scss +24 -0
  118. data/_sass/components/_image.scss +68 -0
  119. data/_sass/components/_list.scss +50 -0
  120. data/_sass/components/_mini-posts.scss +25 -0
  121. data/_sass/components/_pagination.scss +64 -0
  122. data/_sass/components/_posts.scss +173 -0
  123. data/_sass/components/_row.scss +25 -0
  124. data/_sass/components/_section.scss +39 -0
  125. data/_sass/components/_table.scss +75 -0
  126. data/_sass/layout/_banner.scss +69 -0
  127. data/_sass/layout/_footer.scss +12 -0
  128. data/_sass/layout/_header.scss +54 -0
  129. data/_sass/layout/_main.scss +67 -0
  130. data/_sass/layout/_menu.scss +92 -0
  131. data/_sass/layout/_sidebar.scss +217 -0
  132. data/_sass/layout/_wrapper.scss +7 -0
  133. data/_sass/libs/_breakpoints.scss +223 -0
  134. data/_sass/libs/_functions.scss +90 -0
  135. data/_sass/libs/_html-grid.scss +149 -0
  136. data/_sass/libs/_mixins.scss +78 -0
  137. data/_sass/libs/_vars.scss +44 -0
  138. data/_sass/libs/_vendor.scss +376 -0
  139. data/_sass/main.scss +61 -0
  140. data/assets/css/fontawesome-all.min.css +7 -0
  141. data/assets/css/fonts.css +140 -0
  142. data/assets/css/github.css +61 -0
  143. data/assets/css/main.css +2276 -0
  144. data/assets/css/user.css +640 -0
  145. data/assets/images/logo.png +0 -0
  146. data/assets/images/pic01-thumb.jpg +0 -0
  147. data/assets/images/pic01.jpg +0 -0
  148. data/assets/images/pic02.jpg +0 -0
  149. data/assets/images/pic03-thumb.jpg +0 -0
  150. data/assets/images/pic03.jpg +0 -0
  151. data/assets/images/pic04.jpg +0 -0
  152. data/assets/images/pic05-avatar.jpg +0 -0
  153. data/assets/images/pic05-thumb.jpg +0 -0
  154. data/assets/images/pic05.jpg +0 -0
  155. data/assets/images/pic06.jpg +0 -0
  156. data/assets/images/pic07.jpg +0 -0
  157. data/assets/images/pic08.jpg +0 -0
  158. data/assets/images/pic09.jpg +0 -0
  159. data/assets/images/pic10.jpg +0 -0
  160. data/assets/images/pic11.jpg +0 -0
  161. data/assets/images/placeholder.png +0 -0
  162. data/assets/js/breakpoints.min.js +2 -0
  163. data/assets/js/browser.min.js +2 -0
  164. data/assets/js/comments.js +189 -0
  165. data/assets/js/email-obfuscation.js +54 -0
  166. data/assets/js/jquery.min.js +2 -0
  167. data/assets/js/main.js +263 -0
  168. data/assets/js/util.js +592 -0
  169. data/assets/webfonts/OpenSans-Bold.eot +0 -0
  170. data/assets/webfonts/OpenSans-Bold.svg +21062 -0
  171. data/assets/webfonts/OpenSans-Bold.ttf +0 -0
  172. data/assets/webfonts/OpenSans-Bold.woff +0 -0
  173. data/assets/webfonts/OpenSans-BoldItalic.eot +0 -0
  174. data/assets/webfonts/OpenSans-BoldItalic.svg +21121 -0
  175. data/assets/webfonts/OpenSans-BoldItalic.ttf +0 -0
  176. data/assets/webfonts/OpenSans-BoldItalic.woff +0 -0
  177. data/assets/webfonts/OpenSans-Italic.eot +0 -0
  178. data/assets/webfonts/OpenSans-Italic.svg +21164 -0
  179. data/assets/webfonts/OpenSans-Italic.ttf +0 -0
  180. data/assets/webfonts/OpenSans-Italic.woff +0 -0
  181. data/assets/webfonts/OpenSans-Light.eot +0 -0
  182. data/assets/webfonts/OpenSans-Light.svg +21034 -0
  183. data/assets/webfonts/OpenSans-Light.ttf +0 -0
  184. data/assets/webfonts/OpenSans-Light.woff +0 -0
  185. data/assets/webfonts/OpenSans-LightItalic.eot +0 -0
  186. data/assets/webfonts/OpenSans-LightItalic.svg +21161 -0
  187. data/assets/webfonts/OpenSans-LightItalic.ttf +0 -0
  188. data/assets/webfonts/OpenSans-LightItalic.woff +0 -0
  189. data/assets/webfonts/OpenSans-Regular.eot +0 -0
  190. data/assets/webfonts/OpenSans-Regular.svg +21064 -0
  191. data/assets/webfonts/OpenSans-Regular.ttf +0 -0
  192. data/assets/webfonts/OpenSans-Regular.woff +0 -0
  193. data/assets/webfonts/OpenSans-SemiBold.eot +0 -0
  194. data/assets/webfonts/OpenSans-SemiBold.svg +21055 -0
  195. data/assets/webfonts/OpenSans-SemiBold.ttf +0 -0
  196. data/assets/webfonts/OpenSans-SemiBold.woff +0 -0
  197. data/assets/webfonts/OpenSans-SemiBoldItalic.eot +0 -0
  198. data/assets/webfonts/OpenSans-SemiBoldItalic.svg +21154 -0
  199. data/assets/webfonts/OpenSans-SemiBoldItalic.ttf +0 -0
  200. data/assets/webfonts/OpenSans-SemiBoldItalic.woff +0 -0
  201. data/assets/webfonts/RobotoSlab-Bold.eot +0 -0
  202. data/assets/webfonts/RobotoSlab-Bold.svg +334 -0
  203. data/assets/webfonts/RobotoSlab-Bold.ttf +0 -0
  204. data/assets/webfonts/RobotoSlab-Bold.woff +0 -0
  205. data/assets/webfonts/RobotoSlab-Bold.woff2 +0 -0
  206. data/assets/webfonts/RobotoSlab-Regular +0 -0
  207. data/assets/webfonts/RobotoSlab-Regular.svg +337 -0
  208. data/assets/webfonts/RobotoSlab-Regular.ttf +0 -0
  209. data/assets/webfonts/RobotoSlab-Regular.woff +0 -0
  210. data/assets/webfonts/RobotoSlab-Regular.woff2 +0 -0
  211. data/assets/webfonts/fa-brands-400.eot +0 -0
  212. data/assets/webfonts/fa-brands-400.svg +3633 -0
  213. data/assets/webfonts/fa-brands-400.ttf +0 -0
  214. data/assets/webfonts/fa-brands-400.woff +0 -0
  215. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  216. data/assets/webfonts/fa-regular-400.eot +0 -0
  217. data/assets/webfonts/fa-regular-400.svg +803 -0
  218. data/assets/webfonts/fa-regular-400.ttf +0 -0
  219. data/assets/webfonts/fa-regular-400.woff +0 -0
  220. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  221. data/assets/webfonts/fa-solid-900.eot +0 -0
  222. data/assets/webfonts/fa-solid-900.svg +5000 -0
  223. data/assets/webfonts/fa-solid-900.ttf +0 -0
  224. data/assets/webfonts/fa-solid-900.woff +0 -0
  225. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  226. data/favicon-apple-touch-114.png +0 -0
  227. data/favicon-apple-touch-144.png +0 -0
  228. data/favicon.icns +0 -0
  229. data/favicon.ico +0 -0
  230. data/favicon.png +0 -0
  231. data/index.md +28 -0
  232. data/robots.txt +8 -0
  233. data/staticman.yml +109 -0
  234. metadata +347 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ef624ce7299a555c4e432222097806162ceeea393841fa2f089fe72b04a5e064
4
+ data.tar.gz: e77a0b84dfc0f110f8b34635a18c2a0ffb06132ed16dc5b4d4ea05e32426fc6d
5
+ SHA512:
6
+ metadata.gz: '089687bfb0c4d45d9863811bf5d0d2fe1be3483e3086643df04154e8cf279ed427dfe9c11168fdb3a225bda9f9ecf1e4b7612c47050ed5f04528914e1ebb73be'
7
+ data.tar.gz: 28cffcf0a3a3f6b4a3d85e815021eb755b697bd1fcb4acda136af770b0c9987a44c101203cff8c397accb2457cf75307d9e65cca7bfd794e4c099507b67cd254
data/404.html ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ permalink: /404.html
4
+ ---
5
+
6
+ {% include 404.html %}
data/LICENSE.txt ADDED
@@ -0,0 +1,63 @@
1
+ Creative Commons Attribution 3.0 Unported
2
+ http://creativecommons.org/licenses/by/3.0/
3
+
4
+ License
5
+
6
+ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
7
+
8
+ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
9
+
10
+ 1. Definitions
11
+
12
+ 1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
13
+ 2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
14
+ 3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
15
+ 4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
16
+ 5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
17
+ 6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
18
+ 7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
19
+ 8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
20
+ 9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
21
+
22
+ 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
23
+
24
+ 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
25
+
26
+ 1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
27
+ 2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
28
+ 3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
29
+ 4. to Distribute and Publicly Perform Adaptations.
30
+ 5.
31
+
32
+ For the avoidance of doubt:
33
+ 1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
34
+ 2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
35
+ 3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
36
+
37
+ The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
38
+
39
+ 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
40
+
41
+ 1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested.
42
+ 2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
43
+ 3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
44
+
45
+ 5. Representations, Warranties and Disclaimer
46
+
47
+ UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
48
+
49
+ 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
50
+
51
+ 7. Termination
52
+
53
+ 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
54
+ 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
55
+
56
+ 8. Miscellaneous
57
+
58
+ 1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
59
+ 2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
60
+ 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
61
+ 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
62
+ 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
63
+ 6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
data/README.md ADDED
@@ -0,0 +1,1213 @@
1
+ # Editorial, a Jekyll theme
2
+
3
+ Editorial is a Jekyllized version of the [Editorial template](https://html5up.net/editorial) by [HTML5 UP](https://html5up.net/) and converted into a Jekyll theme by [Middle Bear](https://middlebear.org/). The design hints toward a newpaper-like blog with big page banners and slab serif headlines. It features a prominent collapsible memu sidebar that houses navigation, contact information, the footer, and other components, while also accentuating the main content front and center.
4
+
5
+ ## Introduction
6
+
7
+ This is my first attempt at a Jekyll theme. I made it mainly to learn Jekyll and create a useful theme for myself from a pre-existing and freely-modifiable design. It was fun and seemed like it could be useful to others, so it's been packaged up as a theme gem. There is a lot of cleanup work that could be done on the code, especially around documentation and integrations.
8
+
9
+ Here are some basic principles I attempted to adhere to:
10
+
11
+ 1. No external dependencies by default
12
+ * Google
13
+ * Disqus
14
+ * Third-party form handlers
15
+ 2. Componentized as much as possible
16
+ * Meaning lots of includes
17
+ * Could use some refactoring in places
18
+ 3. Works on Github Pages by default
19
+ * For other hosting platforms, extended functionality from plugins not integrated into Github Pages also work out-of-the-box, for a handful of plugins
20
+
21
+
22
+ ## Quick Start
23
+
24
+ ### Create a new Jekyll site, if you don't already have one
25
+
26
+ Note that `:~$` is the shell prompt, so copy and paste the bits *after* that (and the 2 lines in the middle represent the `jekyll` command's output):
27
+
28
+ ```
29
+ :~$ jekyll new my-jekyll-site
30
+ ... a bunch of output from Jekyll ...
31
+ New jekyll site installed in ~/my-jekyll-site.
32
+ :~$ cd my-jekyll-site
33
+ ```
34
+
35
+ This will create the basic structure of your Jekyll site with all the default files in the subdirectory `my-jekyll-site` (you don't have to, and shouldn't, create this subdirectory beforehand).
36
+
37
+ You can then run it to see the default site in your browser (`:~/my-jekyll-site$` is the shell prompt, so don't copy that part):
38
+
39
+ ```
40
+ :~/my-jekyll-site$ bundle exec jekyll serve
41
+ ```
42
+
43
+ Point your browser to `http://localhost:4000/` and you should see a bare site with one post ("Welcome to Jekyll!") using the default Minima theme.
44
+
45
+ ### Add the Editorial theme to your Jekyll site
46
+ Add this line to your Jekyll site's `Gemfile` (and optionally remove `gem "minima"`):
47
+
48
+ ```ruby
49
+ gem "jekyll-theme-editorial"
50
+ ```
51
+ And add this line to your Jekyll site's `_config.yml` in the `Gemfile` (if it's a freshly created Jekyll site, replace the line `theme: minima`):
52
+
53
+ ```yaml
54
+ theme: jekyll-theme-editorial
55
+ ```
56
+
57
+ And then to download and make it available to your site, execute:
58
+
59
+ :~/my-jekyll-site$ bundle
60
+
61
+ Or directly install it yourself as:
62
+
63
+ :~/my-jekyll-site$ gem install jekyll-theme-editorial
64
+
65
+ Then run `bundle exec jekyll serve` (or the shorter `jekyll s` if your setup allows) to see the site so far.
66
+
67
+ Unless you already had content likes posts and an index file, you'll be staring at largely a blank page, along with a collapsible left menu sidebar and site header, at this point. That's ok, move on to the next section!
68
+
69
+ ## Extended Setup Tutorial
70
+
71
+ This section demonstrates the various features of the Editorial theme in a tutorial format. You'll learn how to include and configure the various features by re-creating Editorial's demo site.
72
+
73
+ ### Create/edit the index page
74
+
75
+ Jekyll's initial `index.markdown` file is blank, only specifying a `home` layout in its front matter (the yaml section at the top between the two `---` lines):
76
+
77
+ ```markdown
78
+ ---
79
+ # Feel free to add content and custom Front Matter to this file.
80
+ # To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
81
+
82
+ layout: home
83
+ ---
84
+
85
+ ```
86
+ To replicate the basic theme home page, replace this file with the following:
87
+
88
+ ```markdown
89
+ ---
90
+ layout: home
91
+ body_class: home
92
+ title: "Hi, I’m Editorial<br /> by HTML5 UP & Middle Bear"
93
+ subtitle: My overridden site.tagline
94
+ description: "Aenean ornare velit lacus, ac varius enim ullamcorper eu. Proin aliquam facilisis ante interdum congue. Integer mollis, nisl amet convallis, porttitor magna ullamcorper, amet egestas mauris. Ut magna finibus nisi nec lacinia. Nam maximus erat id euismod egestas. Pellentesque sapien ac quam. Lorem ipsum dolor sit nullam."
95
+ banner:
96
+ url: "/about"
97
+ link_title: "Read About Editorial"
98
+ button_text: "Learn More"
99
+ images:
100
+ banner:
101
+ file: "pic10.jpg"
102
+ alt_text: "Photo of a woman's torso holding a book and wearing a sleeveless top showing the tatoos along her right arm."
103
+ title: "photo: Annie Spratt, https://unsplash.com/photos/DYROsn8AyDI/"
104
+ # NOTE: features are set in `/_data/features.yml`
105
+ ---
106
+
107
+ <!-- Responsive Banner -->
108
+ {%-include responsive_banner.html-%}
109
+
110
+ <!-- Section - Features -->
111
+ {%-include features.html section_title="Cool Features"-%}
112
+
113
+ <!-- Section - Articles -->
114
+ {%-include articles.html section_title="Neat Articles"-%}
115
+
116
+ ```
117
+
118
+ This adds three includes (`responsive_banner.html`, `features.html`, and `articles.html`) to the home page. The added yaml front matter is mainly there to configure the banner, although the `title` and `subtitle` keys can be used by the jekyll-seo-tag, for instance.
119
+
120
+ This index page is the root page of your site by default, and uses the special `home` layout from the theme. The `home` layout is generally only used by this index page, so that your homepage can have a unique feel and design. If you wish to change this layout, copy the file `_layouts/home.html` from the theme gem (or copy/download it from the Github repository for the theme gem) to your site's `~/my-jekyll-site/_layouts/home.html` file.
121
+
122
+ At this point, you may also want to change the name of this file from `index.markdown` to the shorter and more conventional `index.md`.
123
+
124
+ Assuming you left `jekyll serve` running, efresh your browser (on `http://localhost:4000/`) to see the changes so far. You should see a banner with an image, an empty Features section, and an Articles section with one post, "Welcome to Jekyll!".
125
+
126
+ #### Change the site title/subtitle
127
+
128
+ The title and subtitle of the site is configured by the site's `_config.yml` file, since this is usually a one-time configuration at the start of creating your site. Find this line in `_config.yml`:
129
+
130
+ ``` yaml
131
+ title: Your awesome title
132
+ ```
133
+
134
+ and change it as you wish. Notice that the subtitle doesn't appear anywhere in this file. That's because it's inherited from the Editorial theme's configuration file, when the value is absent in your site's config file. Add the following line (typically, you'd place this right under the `title` key to group these together), changing the value as you desire:
135
+
136
+ ```yaml
137
+ subtitle: by me and Middlebear
138
+ ```
139
+
140
+ As the default introductory comments in `_config.yml` note, you have to restart the jekyll server for site configuration changes (changes to this file only) to be applied. First, quit the running jekyll server by pressing `ctrl-c`, and restart it again with the same command (or `bundle exec jekyll serve` if necessary):
141
+
142
+ ```
143
+ :~/my-jekyll-site$ jekyll s
144
+ ```
145
+ Refresh your browser page (on `http://localhost:4000/`) to see the changes you made at the top of the page in the site header area.
146
+
147
+ #### Add Features
148
+
149
+ Features are simple components composed of an icon, a title, and some descriptive text. These are defined in a site data file, `~/my-jekyll-site/_data/features.yml`. To see how it works, copy the following into that file (creating the `_data` directory along the way, if necessary):
150
+
151
+ ```yaml
152
+ - name: "Fully <em>Responsive</em>"
153
+ description: Works on a range of devices and screen sizes, with a automatically collapsing menu sidebar at smaller sizes.
154
+ icon: solid fa-laptop-code
155
+ - name: Built on <em>HTML5 + CSS3</em>
156
+ description: Uses modern browser capabilities to reduce reliance on Javascript while delivering awesome features.
157
+ icon: solid fa-code
158
+ - name: Super <em>Customizable</em>
159
+ description: Beyond content, theme elements can be configured, and even removed entirely, using site config variables or Jekyll front matter.
160
+ icon: solid fa-cog
161
+ - name: <em>100% Free</em> under the <a href="/LICENSE.txt">Creative Commons</a>
162
+ description: Following HTML5 UP's <a href="https://html5up.net/license">original license</a>, the Editorial Jekyll theme is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">CC Attribution 3.0 license</a>.
163
+ icon: solid fa-gift
164
+ ```
165
+
166
+ Note that the `name` and `description` keys can incorporate html (but not Liquid filters/tags). The `icon` key is the class name(s) for the desired [Font Awesome](https://fontawesome.com/icons?d=gallery&m=free) icon. The free Font Awesome icons are divided into `regular`, `solid`, and `brand` variants. The `regular` icons need only a single class value (e.g., `fa-address-book`), but `solid` (e.g., `solid fa-address-book`) and `brand` (e.g., `brand fa-500px`) variants require adding `solid` or `brand` respectively to the class names for the `icon` key.
167
+
168
+ Now refresh the home page again, and you should see the 4 features you added show up in the Features section.
169
+
170
+ ### Add the site navigation menu
171
+
172
+ The sitewide navigation menu lives in the left sidebar, under the appropriately-named "Menu" header. Menu configuration is done via another yaml data file, `~/my-jekyll-site/_data/menus.yml`:
173
+
174
+ ```yaml
175
+ sidebar:
176
+ - url: /
177
+ title: Home
178
+ identifier: home
179
+ - url: /about
180
+ title: About
181
+ identifier: about
182
+ - url: /elements
183
+ title: Elements
184
+ identifier: elements
185
+ - url: /posts
186
+ title: Recent Posts
187
+ identifier: posts
188
+ - url: /archives
189
+ title: Archives
190
+ identifier: archives
191
+ - url: /categories
192
+ title: Categories
193
+ identifier: categories
194
+ - url: /tags
195
+ title: Tags
196
+ identifier: tags
197
+ - url: /projects
198
+ title: Projects
199
+ identifier: projects
200
+ - url: /people
201
+ title: Authors
202
+ identifier: authors
203
+ - url: /signin
204
+ title: Sign In
205
+ identifier: signin
206
+ ```
207
+
208
+ Note that, for compatibility, this is the same basic format employed by the [jekyll-menus plugin](https://github.com/forestryio/jekyll-menus) plugin. However, the Editorial theme's basic menu system doesn't use the `weight` key for ordering entries as `jeyll-menus` does.
209
+
210
+ Refresh the page, and you should now see the menu items populated under the "Menu" header. Since most of these pages don't yet exist at this point, they'll show the "404 Not Found" message.
211
+
212
+ ### Add social media links
213
+
214
+ Social media links are also configured via a yaml file. Save the following yaml to the file, `~/my-jekyll-site/_data/social.yml`:
215
+
216
+ ```yaml
217
+ # Social: use at most 7; remove or comment out the handle for the others
218
+ # Reorder these here to suit your desired order on the page
219
+ # Capitalize labels to suit your preferences
220
+ # URL patterns here should be correct, but be sure to test them
221
+ # Icons are `icon brands` + the fontawsome class names to be used
222
+ github:
223
+ label: Github
224
+ handle: middlebear
225
+ pattern: https://github.com/%s
226
+ icon: icon brands fa-github
227
+ gravatar:
228
+ label: Gravatar
229
+ handle: middlebear2
230
+ pattern: https://gravatar.com/%s
231
+ icon: icon brands fa-google fa-rotate-270
232
+ rubygems:
233
+ label: RubyGems
234
+ handle: middlebear
235
+ pattern: https://rubygems.org/profiles/%s
236
+ icon: icon fa-gem
237
+ twitter:
238
+ label: Middlebear Twitter
239
+ handle: middlebear2
240
+ pattern: https://twitter.com/%s
241
+ icon: icon brands fa-twitter
242
+ twitter2:
243
+ label: Jekyll Twitter
244
+ handle: jekyllrb
245
+ pattern: https://twitter.com/%s
246
+ icon: icon brands fa-twitter
247
+ medium:
248
+ label: Medium
249
+ handle: jekyll
250
+ pattern: https://medium.com/@%s
251
+ icon: icon brands fa-medium-m
252
+ facebook:
253
+ label: Facebook
254
+ handle: # jekyll
255
+ pattern: https://www.facebook.com/%s
256
+ icon: icon brands fa-facebook-f
257
+ linkedin:
258
+ label: LinkedIn
259
+ handle: # jekyll
260
+ pattern: https://www.linkedin.com/in/%s
261
+ icon: icon brands fa-linkedin
262
+ instagram:
263
+ label: Instagram
264
+ handle: jekyll
265
+ pattern: https://www.instagram.com/%s
266
+ icon: icon brands fa-instagram
267
+ snapchat:
268
+ label: Snapchat
269
+ handle: # jekyll
270
+ pattern: https://www.snapchat.com/add/%s
271
+ icon: icon brands fa-snapchat-ghost
272
+ gitlab:
273
+ label: Gitlab
274
+ handle: # jekyll
275
+ pattern: https://gitlab.com/%s
276
+ icon: icon brands fa-gitlab
277
+ keybase:
278
+ label: Keybase
279
+ handle: # jekyll
280
+ pattern: https://keybase.io/%s
281
+ icon: icon brands fa-keybase
282
+ 500px:
283
+ label: 500px
284
+ handle: # jekyll
285
+ pattern: https://500px.com/%s
286
+ icon: icon brands fa-500px
287
+ flickr:
288
+ label: Flickr
289
+ handle: # jekyll
290
+ pattern: https://www.flickr.com/photos/%s
291
+ icon: icon brands fa-flickr
292
+ pinterest:
293
+ label: Pinterest
294
+ handle: # jekyll
295
+ pattern: https://www.pinterest.com/%s/
296
+ icon: icon brands fa-pinterest
297
+ dribbble:
298
+ label: Dribbble
299
+ handle: # jekyll
300
+ pattern: https://dribbble.com/%s/collections
301
+ icon: icon brands fa-dribbble
302
+ behance:
303
+ label: Behance
304
+ handle: # jekyll
305
+ pattern: https://www.behance.net/%s
306
+ icon: icon brands fa-behance
307
+ youtube:
308
+ label: Youtube
309
+ handle: # jekyll
310
+ pattern: https://www.youtube.com/user/%s
311
+ icon: icon brands fa-youtube
312
+ vimeo:
313
+ label: Vimeo
314
+ handle: # jekyll
315
+ pattern: https://vimeo.com/%s
316
+ icon: icon brands fa-vimeo-v
317
+ angelist:
318
+ label: Angelist
319
+ handle: # jekyll
320
+ pattern: https://angel.co/u/%s
321
+ icon: icon brands fa-angelist
322
+ etsy:
323
+ label: Etsy
324
+ handle: # jekyll
325
+ pattern: https://www.etsy.com/shop/%s
326
+ icon: icon brands fa-etsy
327
+ goodreads:
328
+ label: Goodreads
329
+ handle: # jekyll
330
+ pattern: https://www.goodreads.com/%s
331
+ icon: icon brands fa-goodreads-g
332
+ tiktok:
333
+ label: Tiktok
334
+ handle: # jekyll
335
+ pattern: https://www.tiktok.com/@%s
336
+ icon: icon brands fa-tiktok
337
+ tumblr:
338
+ label: Tumblr
339
+ handle: # jekyll
340
+ pattern: https://%s.tumblr.com/
341
+ icon: icon brands fa-tumblr
342
+ reddit:
343
+ label: Reddit
344
+ handle: # jekyll
345
+ pattern: https://www.reddit.com/u/%s
346
+ icon: icon brands fa-reddit-alien
347
+ soundcloud:
348
+ label: Soundcloud
349
+ handle: # jekyll
350
+ pattern: https://soundcloud.com/%s
351
+ icon: icon brands fa-soundcloud
352
+ slack:
353
+ label: Slack
354
+ handle: # jekyll
355
+ pattern: https://%s.slack.com/
356
+ icon: icon brands fa-slack
357
+ ```
358
+ Refreshing the page after saving this file should reveal a new set of social icons in the site header.
359
+
360
+ The introductory comments (text after `# `) provide configuration info for social icons. This list is used not only for the social icons in the site header, but also as templates for social links for people, posts, and pages elsewhere.
361
+
362
+ ### Add the Elements page
363
+
364
+ To view the site styling elements on a single page, save the following content into `_pages/elements.html`:
365
+
366
+ ```html
367
+ ---
368
+ title: Elements
369
+ categories: [jekyll, editorial]
370
+ date: 2019-04-01 01:23:45 -0800
371
+ last_modified_at: 2019-12-23 23:23:23 -0800
372
+ permalink: /elements
373
+ excerpt: "Praesent ac adipiscing ullamcorper semper ut amet ac risus. Lorem sapien ut odio odio nunc. Ac adipiscing nibh porttitor erat risus justo adipiscing adipiscing amet placerat accumsan. Vis. Faucibus odio magna tempus adipiscing a non. In mi primis arcu ut non accumsan vivamus ac blandit adipiscing adipiscing arcu metus praesent turpis eu ac lacinia nunc ac commodo gravida adipiscing eget accumsan ac nunc adipiscing adipiscing lorem ipsum dolor sit amet nullam veroeros adipiscing."
374
+ ---
375
+
376
+ <!-- Content -->
377
+ <h2 id="content">Sample Content</h2>
378
+ <p>Praesent ac adipiscing ullamcorper semper ut amet ac risus. Lorem sapien ut odio odio nunc. Ac adipiscing nibh porttitor erat risus justo adipiscing adipiscing amet placerat accumsan. Vis. Faucibus odio magna tempus adipiscing a non. In mi primis arcu ut non accumsan vivamus ac blandit adipiscing adipiscing arcu metus praesent turpis eu ac lacinia nunc ac commodo gravida adipiscing eget accumsan ac nunc adipiscing adipiscing lorem ipsum dolor sit amet nullam veroeros adipiscing.</p>
379
+ <div class="row">
380
+ <div class="col-6 col-12-small">
381
+ <h3>Sem turpis amet semper</h3>
382
+ <p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat commodo eu sed ante lacinia. Sapien a lorem in integer ornare praesent commodo adipiscing arcu in massa commodo lorem accumsan at odio massa ac ac. Semper adipiscing varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
383
+ </div>
384
+ <div class="col-6 col-12-small">
385
+ <h3>Magna odio tempus commodo</h3>
386
+ <p>In arcu accumsan arcu adipiscing accumsan orci ac. Felis id enim aliquet. Accumsan ac integer lobortis commodo ornare aliquet accumsan erat tempus amet porttitor. Ante commodo blandit adipiscing integer semper orci eget. Faucibus commodo adipiscing mi eu nullam accumsan morbi arcu ornare odio mi adipiscing nascetur lacus ac interdum morbi accumsan vis mi accumsan.</p>
387
+ </div>
388
+ <!-- Break -->
389
+ <div class="col-4 col-12-medium">
390
+ <h3>Interdum sapien gravida</h3>
391
+ <p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit.</p>
392
+ </div>
393
+ <div class="col-4 col-12-medium">
394
+ <h3>Faucibus consequat lorem</h3>
395
+ <p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit.</p>
396
+ </div>
397
+ <div class="col-4 col-12-medium">
398
+ <h3>Accumsan montes viverra</h3>
399
+ <p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit.</p>
400
+ </div>
401
+ </div>
402
+
403
+ <hr class="major"/>
404
+
405
+ <!-- Elements -->
406
+ <h2 id="elements">Elements</h2>
407
+ <div class="row gtr-200">
408
+ <div class="col-6 col-12-medium">
409
+
410
+ <!-- Text stuff -->
411
+ <h3>Text</h3>
412
+ <p>This is <b>bold</b> and this is <strong>strong</strong>. This is <i>italic</i> and this is <em>emphasized</em>.
413
+ This is <sup>superscript</sup> text and this is <sub>subscript</sub> text.
414
+ This is <u>underlined</u> and this is code: <code>for (;;) { ... }</code>.
415
+ Finally, this is a <a href="#">link</a>.</p>
416
+ <hr/>
417
+ <h2>Heading Level 2</h2>
418
+ <h3>Heading Level 3</h3>
419
+ <h4>Heading Level 4</h4>
420
+ <hr/>
421
+ <p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
422
+
423
+ <!-- Lists -->
424
+ <h3>Lists</h3>
425
+ <div class="row">
426
+ <div class="col-6 col-12-small">
427
+
428
+ <h4>Unordered</h4>
429
+ <ul>
430
+ <li>Dolor etiam magna etiam.</li>
431
+ <li>Sagittis lorem eleifend.</li>
432
+ <li>Felis dolore viverra.</li>
433
+ </ul>
434
+
435
+ <h4>Alternate</h4>
436
+ <ul class="alt">
437
+ <li>Dolor etiam magna etiam.</li>
438
+ <li>Sagittis lorem eleifend.</li>
439
+ <li>Felis feugiat viverra.</li>
440
+ </ul>
441
+
442
+ </div>
443
+ <div class="col-6 col-12-small">
444
+
445
+ <h4>Ordered</h4>
446
+ <ol>
447
+ <li>Dolor etiam magna etiam.</li>
448
+ <li>Etiam vel lorem sed viverra.</li>
449
+ <li>Felis dolore viverra.</li>
450
+ <li>Dolor etiam magna etiam.</li>
451
+ <li>Etiam vel lorem sed viverra.</li>
452
+ <li>Felis dolore viverra.</li>
453
+ </ol>
454
+
455
+ <h4>Icons</h4>
456
+ <ul class="icons">
457
+ <li><a href="#" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
458
+ <li><a href="#" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
459
+ <li><a href="#" class="icon brands fa-instagram"><span class="label">Instagram</span></a></li>
460
+ <li><a href="#" class="icon brands fa-github"><span class="label">Github</span></a></li>
461
+ <li><a href="#" class="icon brands fa-dribbble"><span class="label">Dribbble</span></a></li>
462
+ <li><a href="#" class="icon brands fa-tumblr"><span class="label">Tumblr</span></a></li>
463
+ </ul>
464
+
465
+ </div>
466
+ </div>
467
+ <h4>Definition</h4>
468
+ <dl>
469
+ <dt>Item1</dt>
470
+ <dd>
471
+ <p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Lorem ipsum dolor.</p>
472
+ </dd>
473
+ <dt>Item2</dt>
474
+ <dd>
475
+ <p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Lorem ipsum dolor.</p>
476
+ </dd>
477
+ <dt>Item3</dt>
478
+ <dd>
479
+ <p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Lorem ipsum dolor.</p>
480
+ </dd>
481
+ </dl>
482
+
483
+ <h4>Actions</h4>
484
+ <ul class="actions">
485
+ <li><a href="#" class="button primary">Default</a></li>
486
+ <li><a href="#" class="button">Default</a></li>
487
+ </ul>
488
+ <ul class="actions small">
489
+ <li><a href="#" class="button primary small">Small</a></li>
490
+ <li><a href="#" class="button small">Small</a></li>
491
+ </ul>
492
+ <div class="row">
493
+ <div class="col-6 col-12-small">
494
+ <ul class="actions stacked">
495
+ <li><a href="#" class="button primary">Default</a></li>
496
+ <li><a href="#" class="button">Default</a></li>
497
+ </ul>
498
+ </div>
499
+ <div class="col-6 col-12-small">
500
+ <ul class="actions stacked">
501
+ <li><a href="#" class="button primary small">Small</a></li>
502
+ <li><a href="#" class="button small">Small</a></li>
503
+ </ul>
504
+ </div>
505
+ <div class="col-6 col-12-small">
506
+ <ul class="actions stacked">
507
+ <li><a href="#" class="button primary fit">Default</a></li>
508
+ <li><a href="#" class="button fit">Default</a></li>
509
+ </ul>
510
+ </div>
511
+ <div class="col-6 col-12-small">
512
+ <ul class="actions stacked">
513
+ <li><a href="#" class="button primary small fit">Small</a></li>
514
+ <li><a href="#" class="button small fit">Small</a></li>
515
+ </ul>
516
+ </div>
517
+ </div>
518
+
519
+ <h4>Pagination</h4>
520
+ <ul class="pagination">
521
+ <li><span class="button disabled">Prev</span></li>
522
+ <li><a href="#" class="page active">1</a></li>
523
+ <li><a href="#" class="page">2</a></li>
524
+ <li><a href="#" class="page">3</a></li>
525
+ <li><span>&hellip;</span></li>
526
+ <li><a href="#" class="page">8</a></li>
527
+ <li><a href="#" class="page">9</a></li>
528
+ <li><a href="#" class="page">10</a></li>
529
+ <li><a href="#" class="button">Next</a></li>
530
+ </ul>
531
+
532
+ <!-- Blockquote -->
533
+ <h3>Blockquote</h3>
534
+ <blockquote>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Lorem ipsum dolor. Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus.</blockquote>
535
+
536
+ <!-- Table -->
537
+ <h3>Table</h3>
538
+
539
+ <h4>Default</h4>
540
+ <div class="table-wrapper">
541
+ <table>
542
+ <thead>
543
+ <tr>
544
+ <th>Name</th>
545
+ <th>Description</th>
546
+ <th>Price</th>
547
+ </tr>
548
+ </thead>
549
+ <tbody>
550
+ <tr>
551
+ <td>Item1</td>
552
+ <td>Ante turpis integer aliquet porttitor.</td>
553
+ <td>29.99</td>
554
+ </tr>
555
+ <tr>
556
+ <td>Item2</td>
557
+ <td>Vis ac commodo adipiscing arcu aliquet.</td>
558
+ <td>19.99</td>
559
+ </tr>
560
+ <tr>
561
+ <td>Item3</td>
562
+ <td> Morbi faucibus arcu accumsan lorem.</td>
563
+ <td>29.99</td>
564
+ </tr>
565
+ <tr>
566
+ <td>Item4</td>
567
+ <td>Vitae integer tempus condimentum.</td>
568
+ <td>19.99</td>
569
+ </tr>
570
+ <tr>
571
+ <td>Item5</td>
572
+ <td>Ante turpis integer aliquet porttitor.</td>
573
+ <td>29.99</td>
574
+ </tr>
575
+ </tbody>
576
+ <tfoot>
577
+ <tr>
578
+ <td colspan="2"></td>
579
+ <td>100.00</td>
580
+ </tr>
581
+ </tfoot>
582
+ </table>
583
+ </div>
584
+
585
+ <h4>Alternate</h4>
586
+ <div class="table-wrapper">
587
+ <table class="alt">
588
+ <thead>
589
+ <tr>
590
+ <th>Name</th>
591
+ <th>Description</th>
592
+ <th>Price</th>
593
+ </tr>
594
+ </thead>
595
+ <tbody>
596
+ <tr>
597
+ <td>Item1</td>
598
+ <td>Ante turpis integer aliquet porttitor.</td>
599
+ <td>29.99</td>
600
+ </tr>
601
+ <tr>
602
+ <td>Item2</td>
603
+ <td>Vis ac commodo adipiscing arcu aliquet.</td>
604
+ <td>19.99</td>
605
+ </tr>
606
+ <tr>
607
+ <td>Item3</td>
608
+ <td> Morbi faucibus arcu accumsan lorem.</td>
609
+ <td>29.99</td>
610
+ </tr>
611
+ <tr>
612
+ <td>Item4</td>
613
+ <td>Vitae integer tempus condimentum.</td>
614
+ <td>19.99</td>
615
+ </tr>
616
+ <tr>
617
+ <td>Item5</td>
618
+ <td>Ante turpis integer aliquet porttitor.</td>
619
+ <td>29.99</td>
620
+ </tr>
621
+ </tbody>
622
+ <tfoot>
623
+ <tr>
624
+ <td colspan="2"></td>
625
+ <td>100.00</td>
626
+ </tr>
627
+ </tfoot>
628
+ </table>
629
+ </div>
630
+
631
+ </div>
632
+ <div class="col-6 col-12-medium">
633
+
634
+ <!-- Buttons -->
635
+ <h3>Buttons</h3>
636
+ <ul class="actions">
637
+ <li><a href="#" class="button primary">Primary</a></li>
638
+ <li><a href="#" class="button">Default</a></li>
639
+ </ul>
640
+ <ul class="actions">
641
+ <li><a href="#" class="button large">Large</a></li>
642
+ <li><a href="#" class="button">Default</a></li>
643
+ <li><a href="#" class="button small">Small</a></li>
644
+ </ul>
645
+ <ul class="actions">
646
+ <li><a href="#" class="button primary large">Large</a></li>
647
+ <li><a href="#" class="button primary">Default</a></li>
648
+ <li><a href="#" class="button primary small">Small</a></li>
649
+ </ul>
650
+ <ul class="actions fit">
651
+ <li><a href="#" class="button primary fit">Fit</a></li>
652
+ <li><a href="#" class="button fit">Fit</a></li>
653
+ </ul>
654
+ <ul class="actions fit small">
655
+ <li><a href="#" class="button primary fit small">Fit + Small</a></li>
656
+ <li><a href="#" class="button fit small">Fit + Small</a></li>
657
+ </ul>
658
+ <ul class="actions">
659
+ <li><a href="#" class="button primary icon solid fa-search">Icon</a></li>
660
+ <li><a href="#" class="button icon solid fa-download">Icon</a></li>
661
+ </ul>
662
+ <ul class="actions">
663
+ <li><span class="button primary disabled">Primary</span></li>
664
+ <li><span class="button disabled">Default</span></li>
665
+ </ul>
666
+
667
+ <!-- Form -->
668
+ <h3>Form</h3>
669
+
670
+ <form method="post" action="#">
671
+ <div class="row gtr-uniform">
672
+ <div class="col-6 col-12-xsmall">
673
+ <input type="text" name="demo-name" id="demo-name" value="" placeholder="Name" />
674
+ </div>
675
+ <div class="col-6 col-12-xsmall">
676
+ <input type="email" name="demo-email" id="demo-email" value="" placeholder="Email" />
677
+ </div>
678
+ <!-- Break -->
679
+ <div class="col-12">
680
+ <select name="demo-category" id="demo-category">
681
+ <option value="">- Category -</option>
682
+ <option value="1">Manufacturing</option>
683
+ <option value="1">Shipping</option>
684
+ <option value="1">Administration</option>
685
+ <option value="1">Human Resources</option>
686
+ </select>
687
+ </div>
688
+ <!-- Break -->
689
+ <div class="col-4 col-12-small">
690
+ <input type="radio" id="demo-priority-low" name="demo-priority" checked>
691
+ <label for="demo-priority-low">Low</label>
692
+ </div>
693
+ <div class="col-4 col-12-small">
694
+ <input type="radio" id="demo-priority-normal" name="demo-priority">
695
+ <label for="demo-priority-normal">Normal</label>
696
+ </div>
697
+ <div class="col-4 col-12-small">
698
+ <input type="radio" id="demo-priority-high" name="demo-priority">
699
+ <label for="demo-priority-high">High</label>
700
+ </div>
701
+ <!-- Break -->
702
+ <div class="col-6 col-12-small">
703
+ <input type="checkbox" id="demo-copy" name="demo-copy">
704
+ <label for="demo-copy">Email me a copy</label>
705
+ </div>
706
+ <div class="col-6 col-12-small">
707
+ <input type="checkbox" id="demo-human" name="demo-human" checked>
708
+ <label for="demo-human">I am a human</label>
709
+ </div>
710
+ <!-- Break -->
711
+ <div class="col-12">
712
+ <textarea name="demo-message" id="demo-message" placeholder="Enter your message" rows="6"></textarea>
713
+ </div>
714
+ <!-- Break -->
715
+ <div class="col-12">
716
+ <ul class="actions">
717
+ <li><input type="submit" value="Send Message" class="primary"/></li>
718
+ <li><input type="reset" value="Reset"/></li>
719
+ </ul>
720
+ </div>
721
+ </div>
722
+ </form>
723
+
724
+ <!-- Image -->
725
+ <h3>Image</h3>
726
+
727
+ <h4>Fit</h4>
728
+ <span class="image fit"><img src= "assets/images/pic11.jpg" alt=""/></span>
729
+ <div class="box alt">
730
+ <div class="row gtr-50 gtr-uniform">
731
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic01.jpg" alt="" /></span></div>
732
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic02.jpg" alt="" /></span></div>
733
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic03.jpg" alt="" /></span></div>
734
+ <!-- Break -->
735
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic03.jpg" alt="" /></span></div>
736
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic01.jpg" alt="" /></span></div>
737
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic02.jpg" alt="" /></span></div>
738
+ <!-- Break -->
739
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic02.jpg" alt="" /></span></div>
740
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic03.jpg" alt="" /></span></div>
741
+ <div class="col-4"><span class="image fit"><img src= "assets/images/pic01.jpg" alt="" /></span></div>
742
+ </div>
743
+ </div>
744
+
745
+ <h4>Left &amp; Right</h4>
746
+ <p><span class="image left"><img src= "assets/images/pic01.jpg" alt=""/></span>Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent.</p>
747
+ <p><span class="image right"><img src= "assets/images/pic02.jpg" alt=""/></span>Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent.</p>
748
+
749
+ <!-- Box -->
750
+ <h3>Box</h3>
751
+ <div class="box">
752
+ <p>Felis sagittis eget tempus primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Magna sed etiam ante ipsum primis in faucibus vestibulum.</p>
753
+ </div>
754
+
755
+ <!-- Preformatted Code -->
756
+ <h3>Preformatted</h3>
757
+ <pre><code>i = 0;
758
+
759
+ while (!deck.isInOrder()) {
760
+ print 'Iteration ' + i;
761
+ deck.shuffle();
762
+ i++;
763
+ }
764
+
765
+ print 'It took ' + i + ' iterations to sort the deck.';
766
+ </code></pre>
767
+
768
+ </div>
769
+ </div>
770
+ ```
771
+ To view the elements file in your browser, click the "Elements" link in the sidebar menu (`http://localhost:4000/elements`).
772
+
773
+ ### Add site defaults to make posts render properly
774
+
775
+ Because of a slight mismatch between HTML5 UP's CSS in the original Editorial HTML template and the default body classes assigned by Jekyll, we need to adjust some sitewide defaults to make posts render correctly. Although these preferences are set in the theme gem's `_config.yml` file, Jekyll doesn't use those defaults as "default defaults", so they must be replicated in your own site's configuration.
776
+
777
+ With that in mind, add the following `defaults` key to you Jekyll site's `_config.yml` file:
778
+
779
+ ```yaml
780
+ ###################
781
+ # Page Defaults
782
+ ###################
783
+ defaults:
784
+ - scope:
785
+ path: ""
786
+ values:
787
+ layout: "default"
788
+ type: "pages"
789
+ comments: false
790
+ published: true
791
+ - scope:
792
+ path: ""
793
+ type: "posts"
794
+ values:
795
+ layout: "post"
796
+ menus: 'posts' # used by jekyll-menus plugin
797
+ type: "posts"
798
+ body_class: "post" # overrides the class attribute on the html body tag
799
+ image_path: "/assets/images/"
800
+ author_bio: "<p>We're still working on a fabulous author bio and page. Check back later to learn more!</p>"
801
+ comments: false
802
+ published: true
803
+ ```
804
+ The only key of interest right now is `body_class` under the second entry's `values` key. This is set to `post` and will override jekyll's default body class of `posts`, giving us `<body class="post">` instead of `<body class="posts">` in the html of our post pages.
805
+
806
+ Restart the Jekyll server and navigate your browser to the "Welcome to Jekyll!" post (should have a URL along the lines of `http://localhost:4000/jekyll/update/20yy/mm/dd/welcome-to-jekyll.html`) to see it properly styled.
807
+
808
+ Notice also that the sidebar menu now lists the "Welcome to Jekyll!" post automatically under the "Recent Posts" menu item.
809
+
810
+ #### Add the posts index page, and the pages collection
811
+
812
+ To view a listing of posts once we have more than one, let's add a posts index page viewable at the relative URL `/posts/` in the browser. We employ a permalink and Jekyll's collections feature to achieve this desired routing. Create the page `~/my-jekyll-site/_pages/posts.html` (creating the `_pages` folder along the way if necessary):
813
+
814
+ ```html
815
+ ---
816
+ title: Posts
817
+ permalink: /posts/ # trailing slash makes it an `index.html` file inside the `/posts/` directory, rather than a `posts.html` file in the root
818
+ ---
819
+
820
+ <p>Hey, check out our many posts on diverse topics and interests. You can also check out the full list in our <a href="/archives">archives</a>.</p>
821
+ <hr class="major"/>
822
+ {% include pagination.html %}
823
+ <br/>
824
+ {% include posts.html %}
825
+ {% include pagination.html %}
826
+ ```
827
+
828
+ We also need to tell Jekyll to output collection pages, so add the `collections` key to `_config.yml`:
829
+
830
+ ```yaml
831
+ collections:
832
+ pages:
833
+ output: true
834
+ ```
835
+
836
+ This tells Jekyll to render the files in our `_pages` directory as pages in our site, following the directives provided in the front matter of each page.
837
+
838
+ We also need to set some defaults on the pages collection. Add the following entry under the `defaults` key in `_config.yml`:
839
+
840
+ ```yaml
841
+ - scope:
842
+ path: ""
843
+ type: "pages"
844
+ values:
845
+ layout: "page"
846
+ type: "pages"
847
+ image_path: "/assets/images/"
848
+ comments: false
849
+ published: true
850
+ ```
851
+
852
+ Without this latter change, the page title and posts listing won't show up on the posts page.
853
+
854
+ Restart Jekyll and navigate to the `/posts/` page. You should now be able to do this by clicking the "Recent Posts" link in the sidebar.
855
+
856
+ #### Turn off show authors (optional)
857
+ One quirk you might have noticed at this point is that the site title "Your awesome title" may be appearing as the author of the "Welcome to Jekyll!" post. This is because our site has no authors and so our theme defaults to the site title. However, we can turn off this feature, which is particularly useful for single-author sites, via a special `show` theme configuration key in `_config.yml`, like so:
858
+
859
+ ```yaml
860
+ show: # series of switches to customize what appears on the site
861
+ authors: false # single author blogs may want to disable showing the same author everywhere
862
+ ```
863
+ Restarting the Jekyll server will then remove this default "author" from listings of posts throughout the site. When we add authors later, we can turn this feature back on.
864
+
865
+ ### Add a Categories index page
866
+
867
+ Our initial post has two categories (jekyll & update), but they're not very useful right now. Let's create a simple categories index page that lists out our categories along with the posts that have those categories applied. Create the following `_pages/categories.html` page:
868
+
869
+ ```html
870
+ ---
871
+ title: Categories
872
+ date: 2020-01-03 01:23:45 -0800
873
+ permalink: /categories/
874
+ ---
875
+
876
+ {%-assign sorted_categories = site.categories | sort %}
877
+ <!-- Categories -->
878
+ <p>These are the categories used on <a href="{{-site.url-}}">{{-site.title-}}</a> &nbsp;(number of &nbsp;<i class="far fa-sticky-note" style="font-size: 0.9em;"></i>&nbsp;posts).</p>
879
+ {% for category in sorted_categories-%}
880
+ <h2 class="tight">
881
+ <span title="Articles categorized as '{{-category | first-}}'">{{-category | first | capitalize-}}</span>
882
+ <span class="smaller header-aside"> &nbsp;({{-category | last | size-}})</span>
883
+ </h2>
884
+ <ol>
885
+ {%-for post in category.last %}
886
+ {% include list_item.html-%}
887
+ {%-endfor %}
888
+ </ol>
889
+ {% endfor-%}
890
+ ```
891
+
892
+ You should now be able to click on the "Categories" menu item and see our new Categories index page with two headings and our sole post listed under each.
893
+
894
+ ### Add a Tags index page
895
+
896
+ Tags are another categorization tool for posts. Usually they're more fine-grained and free-wheeling than categories, which are generally limited in number to the main topics covered by your blog. Put the following code in the `_pages/tags.html` file to render both a list of posts by tags, and a tag cloud:
897
+
898
+ ```html
899
+ ---
900
+ title: Tags
901
+ date: 2020-02-03 01:23:45 -0800
902
+ permalink: /tags/
903
+ # NOTE: site.tags is a collection of documents for which tag.first is the tag itself
904
+ ---
905
+
906
+ {%-assign sorted_tags = site.tags | sort-%}
907
+
908
+ <p>These are the tags used on <a href="{{-site.url-}}">{{-site.title-}}</a> &nbsp;(number of &nbsp;<i class="far fa-sticky-note" style="font-size: 0.9em;"></i>&nbsp;posts).</p>
909
+ <div class="row gtr-uniform">
910
+ <div class="col-8 col-12-small">
911
+ <h2>Site-wide Tags</h2>
912
+ <ul>
913
+ {%-for tag in sorted_tags %}
914
+ <li>
915
+ <strong id="{{-tag | first-}}" title="Articles tagged '{{-tag | first-}}'">{{-tag | first-}}</strong>
916
+ &nbsp; ({{-tag | last | size }})
917
+ <ul class="compact">
918
+ {% for post in tag.last-%}
919
+ {% include list_item.html li_class="post" title_template="Check out the ':item_title' post"-%}
920
+ {%-endfor %}
921
+ </ul>
922
+ </li>
923
+ {%-endfor %}
924
+ </ul>
925
+ </div>
926
+
927
+ <aside class="column col-4 col-12-small">
928
+ <h2>Tag Cloud</h2>
929
+ <ul class="inline tags">
930
+ {%-for tag in site.tags %}
931
+ <li>
932
+ <span title="Articles tagged '{{-tag | first-}}'" class="pill button" style="font-size: {{ tag | last | size | times:10 | plus:75-}}%; margin: 0.1rem;">{{-tag | first }} ({{-tag | last | size-}})</span>
933
+ </li>
934
+ {%-endfor %}
935
+ </ul>
936
+ </aside>
937
+ </div>
938
+ ```
939
+ Now click on the "Tags" link in the sidebar menu (`http://localhost:4000/tags`) to see the page. Since we are using no tags yet, it's blank. Let's add the following line to the front matter of our blog post:
940
+
941
+ ```yaml
942
+ tags: [jekyll, meta, technology, code, site, editorial theme]
943
+ ```
944
+
945
+ and reload our tags index page to see a list of tags, as well as a populated tag cloud. These tags will also show up in various other places on the site.
946
+
947
+ ### Add an Archives index page
948
+
949
+ The Archives index page is similar to the Category or Tag index page, but organized by date instead of category or tag. The code for this page is a little more complicated to let you choose whether to group by year or by month. The version you can copy from the theme gem (`/_pages/archives.html`) also includes grouping by day, for even more prolific blogs.
950
+
951
+ ```html
952
+ ---
953
+ title: Post Archive
954
+ date: 2020-01-04 01:23:45 -0800
955
+ permalink: /archives/
956
+ excerpt: "" # NOTE: this empty excerpt fixes liquid "'if' tag was never closed included" error: https://jekyllrb.com/docs/troubleshooting/#excerpts
957
+ ---
958
+
959
+ {%-assign archived = site.jekyll-archives.enabled-%}
960
+ {%-if archived contains 'year'-%}{%-unless archived contains 'month'-%}{%-unless archived contains 'day'-%}{%-assign is_year_archive = true-%}{%-endunless-%}{%-endunless-%}{%-endif-%}
961
+ {%-if site.posts-%}
962
+ {%-assign archives_root = site.archives_root | default: ''-%}
963
+ {%-assign posts_by_year = site.posts | group_by_exp: 'post', "post.date | date: '%Y'"-%}
964
+
965
+ <!-- Archives -->
966
+ <p>This is the archive of posts for <a href="{{-site.url-}}">{{-site.title-}}</a> &nbsp;(number of &nbsp;<i class="far fa-sticky-note" style="font-size: 0.9em;"></i>&nbsp;posts).</p>
967
+ {%-if archived contains 'year' or archived contains 'month' or archived contains 'day'-%}
968
+ {%-for year in posts_by_year %}
969
+ {%-assign year_url = site.jekyll-archives.permalinks.year | replace: ':year', year.name-%}
970
+ <h2{%-if is_year_archive %} class="tight"{%-endif-%}>
971
+ <span title="Articles from year '{{-year.name-}}'">{{-year.name-}}</span>
972
+ <span class="smaller header-aside"> &nbsp;({{-year.items | size }})</span>
973
+ </h2>
974
+ {%-if archived contains 'month' or archived contains 'day'-%}
975
+ {%-assign posts_by_month = year.items | sort: 'date' | group_by_exp: "post", "post.date | date: '%B'"-%}
976
+ {%-for month in posts_by_month %}
977
+ {%-assign month_name = month.name | date: '%m'-%}
978
+ {%-assign month_url = site.jekyll-archives.permalinks.month | replace: ':year', year.name | replace: ':month', month_name-%}
979
+ <h3 class="tight">
980
+ <span title="Articles from {{-month.name }} {{ year.name }}">{{-month.name }} {{ year.name-}}</span>
981
+ <span class="smaller header-aside"> &nbsp;({{-month.items | size }})</span>
982
+ </h3>
983
+ <ol>
984
+ {%-for post in month.items %}
985
+ {% include list_item.html-%}
986
+ {%-endfor %}
987
+ </ol>
988
+ {%-endfor %}
989
+ {%-else %}
990
+ <ol>
991
+ {%-for post in year.items %}
992
+ {% include list_item.html-%}
993
+ {%-endfor %}
994
+ </ol>
995
+ {%-endif %}
996
+ {%-endfor %}
997
+ {%-endif %}
998
+ {%-endif %}
999
+ ```
1000
+
1001
+ The granularity of the archives grouping is set via the `jekyll-archives.enabled` array, even if you don't have `jekyll-archives` installed. To have year-based groupings, make sure `year` is in the `enabled` array. Similarly, have `month` there, for month groupings. If you've copied the extended `archives.html` file from the gem's or its Github repository's `_pages` directory, you can also get day granularity with `day` in the `enabled` array. Here is the full jekyll-archives configuration in the gem's `_config.yml` for reference:
1002
+
1003
+ ```yaml
1004
+ ###################
1005
+ # Jekyll Archives - https://github.com/jekyll/jekyll-archives
1006
+ ###################
1007
+ archives_root: '/' # set this to the path prefix for all date-based archives pages, e.g., '/archives'
1008
+ jekyll-archives:
1009
+ enabled: [month, year, categories, tags]
1010
+ layouts:
1011
+ year: archive
1012
+ month: archive
1013
+ day: archive
1014
+ category: category
1015
+ tag: tag
1016
+ permalinks:
1017
+ year: '/:year/'
1018
+ month: '/:year/:month/'
1019
+ day: '/:year/:month/:day/'
1020
+ tag: '/tags/:name/'
1021
+ category: '/categories/:name/'
1022
+ ```
1023
+
1024
+ ### Add People
1025
+
1026
+ TODO
1027
+
1028
+ ### Add Projects
1029
+
1030
+ TODO
1031
+
1032
+ ## Setup Notes
1033
+
1034
+ As standard with Jekyll sites, put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`. These are the only directories from which theme files will be inherited in your site. You can override any theme files by having an identically named file in your site's equivalent directory.
1035
+
1036
+
1037
+ ### Extra Folders
1038
+
1039
+ The Editorial theme has the following extra directories on top of the standard set in Jekyll:
1040
+
1041
+ 1. **_data** - date-based archive
1042
+ * menus.yml - holds the main menu structure of the sidebar menu
1043
+ * social.yml - lists social media sites to use for icon links
1044
+ * features.yml - the home page features list
1045
+ * categories.yml - manual categories list for generating ...
1046
+ * tags.yml - manual tags list for generating ...
1047
+ * taxonomy.yml - a sample set of categories and tags for reference
1048
+ * scripts.yml - an optional separate file to list out scripts (possibly useful for sites with many evoloving script files); overrides the `scripts` key in the theme or site `_config.yml` file, if present
1049
+ 2. **_data/comments** - if you support staticman comments, they will be saved in this folder
1050
+ 3. **/_pages** - a collection of pages that don't fit in any other collections
1051
+ 4. **/_projects** - a custom Jekyll collection for project pages that are not date-based posts concerning (usually longer running) projects or interests
1052
+ 5. **/_people** - a custom Jekyll collection of people affiliated with the site (usually authors)
1053
+ 6. **/_samples** - a set of files showing the full breath of options for the front matters of various colection pages
1054
+
1055
+ ### Extra Files
1056
+ TODO
1057
+
1058
+ ## Usage
1059
+
1060
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
1061
+
1062
+ ### Site Configuration
1063
+ TODO `_config.yml`
1064
+
1065
+
1066
+ #### Contact Info
1067
+ TODO
1068
+
1069
+
1070
+ ### Fonts
1071
+ Adhering to principle #1, fonts this theme was designed with are included in the `assets/webfonts` directory. That way, we don't need visitors to talk to Google servers to use the Google fonts (Open Sans, Roboto Slab) employed by the theme.
1072
+
1073
+
1074
+ ### Favicons (optional)
1075
+ Replace the theme's sample favicons by [creating your own favicons](https://coderwall.com/p/89p9kw/create-all-favicon-formats-in-mac-os-with-preview) and putting them in the root directory of your site.
1076
+
1077
+
1078
+ #### Social Media Links
1079
+ To use social icon links in your site, copy the `_data/social.yml` file into your site's `_data` folder. This data file includes a number of social sites already configured for use with the Editorial theme.
1080
+
1081
+ ##### `_data/social.yml` and the `handle` key
1082
+ You just need to edit/fill in your `handle` for each social site you want to appear on your site. Leave the `handle` value blank (not even an empty string) if you don't wish to use a particular social link in the header. For instance, in the following example, replace `middlebear` with your github handle, if you want a site header icon link to your github page.
1083
+
1084
+ ```yaml
1085
+ github:
1086
+ label: Github
1087
+ handle: middlebear
1088
+ pattern: https://github.com/%s
1089
+ icon: icon brands fa-github
1090
+ ```
1091
+
1092
+ {:.box}
1093
+ NOTE: Don't delete entries you're not using right away. Instead, leave them in place (with blank `handle` values) for use in other places on your site.
1094
+
1095
+ If you want to link to your Github Pages site instead, you could, for instance, also replace the `pattern` with `https://%s.github.io`. Notice that `%s` is the location in the `pattern` where the `handle` will be substituted.
1096
+
1097
+
1098
+ ##### Font Awesome Icons
1099
+ The `icon` entry is the Font Awesome icon to be used, expressed as CSS class(es). It's likely Font Awesome already has an existing brand icon for the social media site, in which case, keep the `brands` value in this class list. You should always keep the `icon` class in the `icon` entry, so the resultant icon is rendered consistently.
1100
+
1101
+ You can also add new entries, like for a fictitious WhatsIt App:
1102
+
1103
+ ```yaml
1104
+ whatsitapp:
1105
+ label: WhatsIt App
1106
+ handle: wombat-tiddlewinker
1107
+ pattern: https://whatsitapp.com/%s/profile
1108
+ icon: icon brands fa-whatsitapp
1109
+ ```
1110
+
1111
+ ##### Social Icons for People (and Posts, Projects, and Pages)
1112
+
1113
+ The Editorial theme leverages this `social.yml` list to allow you to add social links for people and pages as well. In the front matter of the page, add a `social` entry like so:
1114
+
1115
+ ```yaml
1116
+ ---
1117
+ social:
1118
+ twitter: julia-caesar
1119
+ facebook: caesardejulia
1120
+ linkedin: juliamcaesar
1121
+ instagram: julia_thecatfacedassassin
1122
+ medium: juliacaesar
1123
+ ---
1124
+ ```
1125
+
1126
+ Notice that the key (like `facebook`) needs to match a key in the `_data/social.yml` file. This is how the `pattern` and `icon` values are looked up for a given social site. The value of the social entry is the person's (or page's) particular handle (e.g., `caesardejulia`) for that social site.
1127
+
1128
+
1129
+ ### Layouts
1130
+
1131
+ * `⁨_layouts⁩\default.html` - basic skeleton of the site, and the default layout used when not specified in front matter (or via `_config.yml` front matter defaults).
1132
+ * `_layouts\home.html` - a special layout for just the home page of the site. Could be used for other landing pages as well.
1133
+ * `⁨_layouts⁩\page.html` - the generic page layout, with a title header and optional page elements like subtitle, date, authors, and page image. Used for index pages and other general site pages that aren't blog posts or author bio pages.
1134
+ * `⁨_layouts⁩\post.html` - the main blog post layout. It's a version of the page layout along with categories, tags, next/previous navigation, and a fuller author bio block.
1135
+ * `⁨_layouts⁩\author.html` - the page layout for author bios. It has additional elements like position, company, and twitter handle.
1136
+
1137
+ #### Microformats & Microdata
1138
+ The `default.html` layout and the theme headers, footer, and sidebar incorporate, as much as possible, and probably incorrectly in some places, the basics of microformats (e.g., `h-card`) and microdata (e.g., `itemscope`) into the theme. Both of these formats attempt to label data so it's easier for machines to understand items of information in a page. However, they have different purposes.
1139
+
1140
+ Microformats help sites interact with each other in a sort of decentralized social network&mdash;this is useful for commenting, quoting and liking content on other sites or vice versa. Microdata helps centralized platforms like Twitter, Facebook and Google better present your data on those platforms--this is useful if you cross-post content to those platforms or want better search rankings for you content.
1141
+
1142
+ ### Categories & Tags
1143
+ Jekyll's `categories` and `tags` provide a flexible set of tools to organize posts. This theme is designed to be compatible with the [`jekyll-archives`](https://github.com/jekyll/jekyll-archives/) plugin, configured for automatic [category](/category/) & [tag](/tag/) list (aka index) pages. You can find the templates for these list pages in `/_pages/categories.html` and `/_pages/tags.html` of the theme gem or the theme's Github repository.
1144
+
1145
+ When `jekyll-archives` is installed, each category and tag also automatically generates a list page. These pages list posts categorized or tagged commensurately with the given category or tag. The templates for these pages are located in the `_layouts` directory: `/_layouts/category.html` and `/_layouts/tag.html` respectively. These pages will be generated under the `/category/[category_name]` and `/tag/[tag_name]` paths, one for each category and tag in their respective paths.
1146
+
1147
+ You can override any of the default configurations for `jekyll-archives` in `_config.yml`, and override any of the list page templates by copying them into your corresponding directories, either `/_pages/` or `/_layouts/` depending on what you want to customize.
1148
+
1149
+
1150
+ ### Includes
1151
+ TODO
1152
+
1153
+ ### Sass Styling
1154
+ TODO
1155
+
1156
+ ### Assets
1157
+ TODO
1158
+
1159
+ ### Banner
1160
+ One neat little trick buried in the CSS is the selective removal of `<br>` line breaks from the `h1` header of the `#banner` secion of a page. That's most prominently used on the sample home page, where there is a line break between "Editorial" and "by", which forces a particular spacing on large screens, where the header is beside the image, but gets removed on small (vertically-oriented) screens, where the header is below the image.
1161
+
1162
+ ### Navigation
1163
+ The site navigation menu will auto-generate based on the contents of the `menus.yml` data file and the pages, posts, and projects you add to the site. By default, the menu will list the last 10 items for each type. It will also have links to each category page, a link to the tag index page, about, privacy, and terms.
1164
+
1165
+ ### Search box
1166
+ Search needs a [search provider](https://jekyllrb.com/resources/#search) like [Algolia](https://www.algolia.com/) to work. If you don't need search capabilities, remove the search box by copying `sidebar.html` from this gem to `_includes/sidebar.html` (if you haven't already) for your site. Then remove the include for search `{% include search.html %}` from that file and save.
1167
+
1168
+ ### Newsletter signup form
1169
+ The newsletter signup form needs a [form handler](https://jekyllrb.com/resources/#forms) and a newsletter service to work. Remove the newsletter signup form by copying `sidebar.html` from the jekyll-theme-editorial gem to `_includes/sidebar.html` (if you haven't already) for your site. Then remove the include for the newsletter `{% include newsletter_signup.html %}` from that file and save.
1170
+
1171
+ ### Sign In form
1172
+ The sign in form probably needs a static identity/authentication/authorization provider like [Userbase](https://userbase.com/) and a email service to make work. Delete the page and remove the sign in entry from the navigation menu if you don't need this functionality.
1173
+
1174
+ ### Terms & Privacy Policy
1175
+ Many websites have [Terms of Use](/terms.hmtl) (source file: `/terms.md`) and [Privacy Policy](/privacy.html) (source file: `/privacy.md`) pages spelling out the rights and obligation of website visitors. Many sites don't need formal policies, but if you do, you can edit these pages with your terms and policies. Be sure to research and develop your own language for these. The sample language is only meant as a visual placeholder.
1176
+
1177
+ If you don't need these elements, delete the two markdown files and remove the links in the site footer (source file: `/_includes/footer.html`).
1178
+
1179
+
1180
+ ## Future Improvements
1181
+ This is a random and very incomplete list of potential future improvements that may be made to the theme (no guarantees though!). Feel free to take some or all of these ideas and run with them. Pull requests welcome!
1182
+
1183
+ * [ ] support for Webmentions and `authn` tagging for IndieAuth
1184
+ * [ ] Integrate/test pagination with jekyll-pagination-v2 gem
1185
+ * [ ] Integrate a more robust, privacy-oriented spam solution/service for comments (not Google)
1186
+ * [ ] Merge project and page tags and categories, to prevent duplicates
1187
+ * [ ] Create category pages for project- and page-specific tags (a la jekyll-archives)
1188
+ * [ ] Allow 2 levels of filtering, category and then tag(s)
1189
+ * [ ] Add categorized projects and pages fully to category archive pages without using a plugin
1190
+ * Must solve date ranges for year, month, day for varying values of these (like leap year)
1191
+ * [ ] Implement an asset pipeline to enable easier caching and integration with a CDN, if desired
1192
+ * Also removes the need to prefix image paths
1193
+ * Adds automatic cache-busting on updates
1194
+ * [ ] Implement a photo gallery
1195
+ * [ ] Auto-suggest tags based on content, in developer mode (some added text in an message overlay, for instance)
1196
+
1197
+
1198
+ ## Contributing
1199
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)
1200
+
1201
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/middlebear/jekyll-theme-editorial). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
1202
+
1203
+
1204
+ ## License
1205
+
1206
+ The Editorial Jekyll theme is available as open source under the terms of the [CC BY 3.0 License](https://creativecommons.org/licenses/by/3.0/).
1207
+
1208
+ ### [HTML5 UP](https://html5up.net) Credits
1209
+ * HTML template: [AJ](mailto:"AJ" <aj@lkn.io>) | [🐦](https://twitter.com/ajlkn)<br> Free for personal and commercial use under the [CCA 3.0 license](https://html5up.net/license).
1210
+ * Demo Images: [Unsplash](unsplash.com)
1211
+ * Icons: [Font Awesome](fontawesome.io)
1212
+ * Other: [jQuery](jquery.com), [Responsive Tools](https://github.com/ajlkn/responsive-tools)
1213
+