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
@@ -0,0 +1,19 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {%-if page.published and site.show.authors %}
5
+ <section>
6
+ {% include page_header.html page_title=page.name subtitle=page.position %}
7
+ {%-if page.series %}
8
+ {% include series.html %}
9
+ {%-endif %}
10
+ <!-- Page Content -->
11
+ {{ content }}
12
+ </section>
13
+ {%-if page.comments == true %}
14
+ {% include comments.html %}
15
+ {%-endif %}
16
+ {% include articles.html section_title="Authored Posts" %}
17
+ {% else %}
18
+ {% include 404.html %}
19
+ {%-endif %}
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {%-assign title = page.title | default: page.category | capitalize | prepend: 'Filed under "' | append: '"'-%}
6
+ {%-assign projects = site.projects | where_exp: 'project', 'project.categories contains page.title and project.published == true'-%}
7
+ {%-assign pages = site.pages | where_exp: 'pg', 'pg.categories contains page.title and pg.published == true'-%}
8
+
9
+ <section>
10
+ {% include page_header.html page_title=title %}
11
+ <!-- Page Content -->
12
+ <hr class="major"/>
13
+ <!-- <h2><i class="far fa-sticky-note" style="font-size: 0.9em;"></i>&nbsp; Posts</h2> -->
14
+ {% include posts.html %}
15
+ {% if projects != empty-%}
16
+ <h2><i class="fas fa-project-diagram" style="font-size: 0.7em;"></i>&nbsp; Projects {{ title-}}</h2>
17
+ {% include projects.html %}
18
+ {%-endif-%}
19
+ {% if pages != empty-%}
20
+ <h2><i class="far fa-file-alt" style="font-size: 0.8em;"></i>&nbsp; Pages {{ title-}}</h2>
21
+ {% include pages.html %}
22
+ {%-endif-%}
23
+ </section>
@@ -0,0 +1,29 @@
1
+ ---
2
+ # default.html is the base layout for the site. it includes the skeletal
3
+ # elements like the header, sidebar, and footer, that go
4
+ # around every page on the site
5
+ #
6
+ ---
7
+ <!DOCTYPE html>
8
+ <html lang="{{-page.lang | default: site.lang | default: 'en'-}}">
9
+ <head>
10
+ <!-- <title>{{-site.title-}}</title> -->
11
+ {% include head.html %}
12
+ </head>
13
+ <body class="{{-page.body_class | default: page.collection | append: ' '-}}is-preload">
14
+ <div id="wrapper">
15
+ <main id="main" aria-label="Content">
16
+ <!-- Main Page Content -->
17
+ <div class="inner">
18
+ {% include site_header.html %}
19
+ {{ content }}
20
+ </div>
21
+ </main>
22
+
23
+ {% include sidebar.html %}
24
+ </div> <!-- End Wrapper -->
25
+
26
+ <!-- Scripts -->
27
+ {%-include scripts.html %}
28
+ </body>
29
+ </html>
@@ -0,0 +1,6 @@
1
+ ---
2
+ # this layout is specific to the home page so it can be laid out separate from the rest of the site
3
+ layout: default
4
+ ---
5
+
6
+ {{ content }}
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% if page.published %}
5
+ <!-- Page Section -->
6
+ <section>
7
+ {% include page_header.html %}
8
+ {%-if page.series %}
9
+ {% include series.html %}
10
+ {%-endif %}
11
+ <!-- Page Content -->
12
+ {{ content }}
13
+ </section>
14
+ {% else %}
15
+ {% include 404.html %}
16
+ {% endif %}
@@ -0,0 +1,35 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {%-unless page.published == false-%}
5
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
6
+ {% include post_header.html %}
7
+ <!-- Post Content -->
8
+ {% if page.summary or page.excerpt-%}<data class="p-summary" value="{{-page.summary | default: page.excerpt | strip_html | escape-}}" hidden></data>{%-endif %}
9
+ <section class="e-content" itemprop="articleBody">
10
+ {%-if page.series %}
11
+ {% include series.html %}
12
+ {%-endif %}
13
+ {{ content }}
14
+ </section>
15
+ {% include tags.html %}
16
+ <hr class="compact"/>
17
+ {% include post_nav.html-%}
18
+ {%-if site.show.post_authors and page.author %}
19
+ {% include authors.html %}
20
+ {%-endif %}
21
+ {% if site.disqus.shortname-%}
22
+ <hr class="major"/>
23
+ {% include disqus_comments.html %}
24
+ {%-endif-%}
25
+ {% if page.comments == true-%}
26
+ <hr class="major"/>
27
+ {% include comments.html %}
28
+ {%-endif %}
29
+ <a class="u-url" href="{{-page.url | relative_url-}}" hidden></a>
30
+ </article>
31
+ {%-if site.lsi-%}{%-assign related_title = "Related Posts"-%}{%-else-%}{%-assign related_title = "Latest Posts"-%}{%-endif-%}
32
+ {%-if site.posts.size > 2-%}{% include articles.html section_title=related_title article_type='related_posts' %}{%-endif-%}
33
+ {% else-%}
34
+ {% include 404.html %}
35
+ {% endunless-%}
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {%-if page.published %}
5
+ <section>
6
+ {% include page_header.html byline_prefix=" " %}
7
+ {%-if page.series %}
8
+ {% include series.html %}
9
+ {%-endif %}
10
+ <!-- Page Content -->
11
+ {{ content }}
12
+ {%-include tags.html %}
13
+ <hr class="compact"/>
14
+
15
+ {%-if site.show.project_authors and page.author %}
16
+ {%-include authors.html show_next=false-%}
17
+ {%-endif %}
18
+ </section>
19
+ {%-if page.comments == true %}
20
+ {% include comments.html %}
21
+ {%-endif %}
22
+ {%-else %}
23
+ {%-include 404.html %}
24
+ {%-endif %}
data/_layouts/tag.html ADDED
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {%-assign title = page.title | default: page.tag | prepend: 'Tagged "' | append: '"'-%}
6
+ {%-assign projects = site.projects | where_exp: 'project', 'project.tags contains page.title and project.published == true'-%}
7
+ {%-assign pages = site.pages | where_exp: 'pg', 'pg.tags contains page.title and pg.published == true'-%}
8
+
9
+ <section>
10
+ {% include page_header.html page_title=title %}
11
+ <!-- Page Content -->
12
+ <hr class="major"/>
13
+ <!-- <h2><i class="far fa-sticky-note" style="font-size: 0.9em;"></i>&nbsp; Posts</h2> -->
14
+ {% include posts.html %}
15
+ {% if projects != empty-%}
16
+ <h2><i class="fas fa-project-diagram" style="font-size: 0.7em;"></i>&nbsp; Projects {{ title-}}</h2>
17
+ {% include projects.html %}
18
+ {%-endif-%}
19
+ {% if pages != empty-%}
20
+ <h2><i class="far fa-file-alt" style="font-size: 0.8em;"></i>&nbsp; Pages {{ title-}}</h2>
21
+ {% include pages.html %}
22
+ {%-endif-%}
23
+ </section>
data/_pages/about.md ADDED
@@ -0,0 +1,37 @@
1
+ ---
2
+ title: About this site
3
+ date: 2020-01-01 01:23:45 -0800
4
+ categories: [jekyll]
5
+ tags: [sed, fuzzy wuzzy]
6
+ series: "Site information"
7
+ image: pic11.jpg
8
+ published: true
9
+ author: [aurelius,julia, petunia]
10
+ show_authors: true
11
+ header_url: https://example.com
12
+ permalink: /about
13
+ ---
14
+
15
+ <p>Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit.</p>
16
+
17
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.</p>
18
+
19
+ <p>Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor.</p>
20
+
21
+ <hr class="major"/>
22
+
23
+ <h2>Interdum sed dapibus</h2>
24
+ <p>Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit.</p>
25
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor.</p>
26
+
27
+ <hr class="major"/>
28
+
29
+ <h2>Magna etiam veroeros</h2>
30
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.</p>
31
+ <p>Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fersapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit tristique lorem ipsum dolor.</p>
32
+
33
+ <hr class="major"/>
34
+
35
+ <h2>Lorem aliquam bibendum</h2>
36
+ <p>Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Curabitur sapien risus, commodo eget turpis at, elementum convallis elit. Pellentesque enim turpis, hendrerit.</p>
37
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.</p>
@@ -0,0 +1,134 @@
1
+ ---
2
+ title: Post Archive
3
+ date: 2020-01-04 01:23:45 -0800
4
+ permalink: /archives/ # trailing slash makes it an `index.html` file inside the `/archives/` directory, rather than an `archives.html` file in the root
5
+ excerpt: "" # NOTE: this empty excerpt fixes liquid "'if' tag was never closed included" error: https://jekyllrb.com/docs/troubleshooting/#excerpts
6
+ # dependencies:
7
+ # site.plugins to test whether jekyll-archives is activated or not
8
+ # site.url used in the header message
9
+ # site.title used in the header message
10
+ # site.archives_root the root path of the archives (e.g., '', '/posts', '/blog', '/archives', etc.) to build url links
11
+ # site.posts posts for the archive
12
+ # site.jekyll-archives.enabled - array for the type(s) of archives desired: [day, month, year]
13
+ # local:
14
+ # firsts, seconds, thirds - arrays for ordinalizing days in dates
15
+ # NOTE: ordinalization inspired by http://alanwsmith.com/jekyll-liquid-date-formatting-examples
16
+ # TODO: add other collections (_projects, _pages) to the archives
17
+ ---
18
+
19
+ {%-assign archived = site.jekyll-archives.enabled-%}
20
+ {%-if site.plugins contains 'jekyll-archives'-%}{%-assign archives_available = true-%}{%-else-%}{%-assign archives_available = false-%}{%-endif-%}
21
+ {%-if archived contains 'year'-%}{%-unless archived contains 'month'-%}{%-unless archived contains 'day'-%}{%-assign is_year_archive = true-%}{%-endunless-%}{%-endunless-%}{%-endif-%}
22
+ {%-if site.posts-%}
23
+ {%-assign archives_root = site.archives_root | default: ''-%}
24
+ {%-assign posts_by_year = site.posts | group_by_exp: 'post', "post.date | date: '%Y'"-%}
25
+ {%-comment-%}
26
+ {%-assign published_projects = site.projects | where: 'published', true-%}
27
+ {%-assign published_pages = site.pages | where: 'published', true-%}
28
+ {%-assign projects_by_year = published_projects | group_by_exp: 'project',"project.date | date: '%Y'"-%}
29
+ {%-assign pages_by_year = published_pages | group_by_exp: 'pg', "pg.date | date: '%Y'"-%}
30
+ {%-endcomment-%}
31
+ {%-assign firsts = "1,21,31" | split: ','-%}
32
+ {%-assign seconds = "2,22" | split: ','-%}
33
+ {%-assign thirds = "3,23" | split: ','-%}
34
+
35
+ <!-- Archives -->
36
+ <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{%-comment-%}{%-if published_projects or published_pages %} / &nbsp;<i class="fas fa-project-diagram" style="font-size: 0.7em;"></i>&nbsp;projects{%-if published_pages %} / &nbsp;<i class="far fa-file-alt" style="font-size: 0.8em;"></i>&nbsp;pages{%-endif-%}{%-endif-%}{%-endcomment-%}).</p>
37
+ {%-if archived contains 'year' or archived contains 'month' or archived contains 'day'-%}
38
+ {%-for year in posts_by_year %}
39
+ {%-assign year_url = site.jekyll-archives.permalinks.year | replace: ':year', year.name-%}
40
+ {%-comment-%}
41
+ {%-assign year_projects = projects_by_year | find: 'name', year.name-%}
42
+ {%-assign year_pages = pages_by_year | find: 'name', year.name-%}
43
+ {%-endcomment-%}
44
+ <h2{%-if is_year_archive %} class="tight"{%-endif-%}>
45
+ {% if archives_available and archived contains 'year'-%}
46
+ <a href="{{-year_url-}}" title="{{-year.name }} articles">{{-year.name-}}</a>
47
+ {%-else-%}
48
+ <span title="Articles from year '{{-year.name-}}'">{{-year.name-}}</span>
49
+ {%-endif %}
50
+ {%-if year.items.size > 3 %}<span class="smaller header-aside"> &nbsp;({{-year.items | size }}{%-comment-%}{%-if year_projects.items or year_pages.items %} / {{ year_projects.items | size }} / {{ year_pages.items | size-}}{%-endif-%}{%-endcomment-%})</span>{% endif-%}
51
+ </h2>
52
+ {%-if archived contains 'month' or archived contains 'day'-%}
53
+ {%-assign posts_by_month = year.items | sort: 'date' | group_by_exp: "post", "post.date | date: '%B'"-%}
54
+ {%-comment-%}
55
+ {%-assign projects_by_month = year_projects.items | sort: 'date' | group_by_exp: "project", "project.date | date: '%B'"-%}
56
+ {%-assign pages_by_month = year_pages.items | sort: 'date' | group_by_exp: "pg", "pg.date | date: '%B'"-%}
57
+ {%-endcomment-%}
58
+ {%-for month in posts_by_month %}
59
+ {%-assign month_name = month.name | date: '%m'-%}
60
+ {%-assign month_url = site.jekyll-archives.permalinks.month | replace: ':year', year.name | replace: ':month', month_name-%}
61
+ {%-comment-%}
62
+ {%-assign month_projects = projects_by_month | find: 'name', month.name-%}
63
+ {%-assign month_pages = pages_by_month | find: 'name', month.name-%}
64
+ {%-endcomment-%}
65
+ <h3 class="tight">
66
+ {% if archives_available and archived contains 'month'-%}
67
+ <a href="{{-month_url-}}" title="{{-month.name }} {{ year.name }} articles">{{-month.name }} {{ year.name-}}</a>
68
+ {%-else-%}
69
+ <span title="Articles from {{-month.name }} {{ year.name }}">{{-month.name }} {{ year.name-}}</span>
70
+ {%-endif %}
71
+ {%-if month.items.size > 3 %}<span class="smaller header-aside"> &nbsp;({{-month.items | size }}{%-comment-%}{%-if month_projects.items or month_pages.items %} / {{ month_projects.items | size }} / {{ month_pages.items | size-}}{%-endif-%}{%-endcomment-%})</span>{% endif-%}
72
+ </h3>
73
+ {%-if archived contains 'day'-%}
74
+ {%-assign posts_by_day = month.items | sort: 'date' | group_by_exp: "post", "post.date | date: '%-d'"-%}
75
+ {%-for day in posts_by_day %}
76
+ {%-if firsts contains day.name-%}{%-assign suffix='st'-%}{%-elsif seconds contains day.name-%}{%-assign suffix='nd'-%}{%-elsif thirds contains day.name-%}{%-assign suffix='rd'-%}{%-else-%}{%-assign suffix='th'-%}{%-endif-%}
77
+ {%-assign day_name = day.name | plus: 0-%}
78
+ {%-capture day_url-%}{{-month_url-}}/{%-if day_name < 10-%}0{%-endif-%}{{-day.name-}}{%-endcapture-%}
79
+ <h4 class="tight" title="{{-month.name | date: '%b' }} {{ day.name-}}, {{ year.name | date: '%Y' }} articles">
80
+ <a href="{{-day_url-}}">{{-month.name | date: '%b' }} {{ day.name-}}, {{ year.name }}</a>
81
+ {%-if day.items.size > 3 %}<span class="smaller header-aside"> &nbsp;({{-day.items | size }}{%-comment-%}{%-if day_projects.items or day_pages.items %} / {{ day_projects.items | size }} / {{ day_pages.items | size-}}{%-endif-%}{%-endcomment-%})</span>{% endif-%}
82
+ </h4>
83
+ <ul class="compact plain">
84
+ {%-for post in day.items %}
85
+ {% include list_item.html-%}
86
+ {%-endfor %}
87
+ </ul>
88
+ {%-endfor %}
89
+ {%-else %}
90
+ <ol>
91
+ {%-for post in month.items %}
92
+ {% include list_item.html-%}
93
+ {%-endfor %}
94
+ {%-comment-%}
95
+ {%-for project in month_projects.items %}
96
+ {% include list_item.html li_class="project"-%}
97
+ {%-endfor %}
98
+ {%-for pg in month_pages.items %}
99
+ {% include list_item.html li_class="page"-%}
100
+ {%-endfor %}
101
+ {%-endcomment-%}
102
+ </ol>
103
+ {%-endif %}
104
+ {%-endfor %}
105
+ {%-else %}
106
+ <ol>
107
+ {%-for post in year.items %}
108
+ {% include list_item.html-%}
109
+ {%-endfor %}
110
+ {%-comment-%}
111
+ {%-for project in year_projects.items %}
112
+ {% include list_item.html li_class="project"-%}
113
+ {%-endfor %}
114
+ {%-for pg in year_pages.items %}
115
+ {% include list_item.html li_class="page"-%}
116
+ {%-endfor %}
117
+ {%-endcomment-%}
118
+ </ol>
119
+ {%-endif %}
120
+ {%-comment-%}
121
+ <ol>
122
+ {%-for project in year_projects.items %}
123
+ {% include list_item.html li_class="project"-%} - {{ project.date }}
124
+ {%-endfor %}
125
+ </ol>
126
+ <ol>
127
+ {%-for pg in year_pages.items %}
128
+ {% include list_item.html li_class="page"-%} - {{ pg.date }}
129
+ {%-endfor %}
130
+ </ol>
131
+ {%-endcomment-%}
132
+ {%-endfor %}
133
+ {%-endif %}
134
+ {%-endif %}
@@ -0,0 +1,94 @@
1
+ ---
2
+ title: Categories
3
+ date: 2020-01-03 01:23:45 -0800
4
+ permalink: /categories/ # trailing slash makes it an `index.html` file inside the `/categories/` directory, rather than a `categories.html` file in the root
5
+ # dependencies:
6
+ # site.show.authors sitewide switch to show authors or not
7
+ # site.projects to show categorized projects
8
+ # site.pages to show categorized pages
9
+ ---
10
+
11
+ {%-if site.plugins contains 'jekyll-archives'-%}{%-assign archives_available = true-%}{%-else-%}{%-assign archives_available = false-%}{%-endif-%}
12
+ {%-assign sorted_categories = site.categories | sort %}
13
+ {%-assign published_projects = site.projects | where: 'published', true-%}
14
+ {%-assign published_pages = site.pages | where: 'published', true-%}
15
+ {%-assign project_categories = published_projects | map: 'categories' | join: '-----' | split: '-----' | uniq-%}
16
+ {%-assign page_categories = published_pages | map: 'categories' | join: '-----' | split: '-----' | uniq-%}
17
+ {%-assign merged_categories = project_categories | concat: page_categories | uniq | sort-%}
18
+ <!-- Categories -->
19
+ <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{%-if published_projects != empty or published_pages != empty %} / &nbsp;<i class="fas fa-project-diagram" style="font-size: 0.7em;"></i>&nbsp;projects{%-if published_pages != empty %} / &nbsp;<i class="far fa-file-alt" style="font-size: 0.8em;"></i>&nbsp;pages{%-endif-%}{%-endif-%}).</p>
20
+ {% for category in sorted_categories-%}
21
+ {%-assign projects = published_projects | where_exp: 'project', "project.categories contains category.first"-%}
22
+ {%-assign pages = published_pages | where_exp: 'page', "page.categories contains category.first"-%}
23
+ <h2 class="tight">
24
+ {% if archives_available-%}
25
+ <a href="/categories/{{-category | first | slugify-}}" title="Articles categorized as '{{-category | first-}}'">{{-category | first | capitalize-}}</a>
26
+ {%-else-%}
27
+ <span title="Articles categorized as '{{-category | first-}}'">{{-category | first | capitalize-}}</span>
28
+ {%-endif %}
29
+ <span class="smaller header-aside"> &nbsp;({{-category | last | size }}{%-if projects != empty or pages != empty %} / {{ projects | size }} / {{ pages | size-}}{%-endif-%})</span>
30
+ </h2>
31
+ <ol>
32
+ {%-for post in category.last %}
33
+ {% include list_item.html-%}
34
+ {%-endfor %}
35
+ {% if projects != empty-%}
36
+ {%-for project in projects %}
37
+ {% include list_item.html li_class="project" title_template="Check out ':item_title'"-%}
38
+ {%-endfor %}
39
+ {%-endif %}
40
+ {%-if pages != empty %}
41
+ {%-for pg in pages %}
42
+ {% include list_item.html li_class="page" title_template="Check out ':item_title'"-%}
43
+ {%-endfor %}
44
+ {%-endif %}
45
+ </ol>
46
+ {% endfor-%}
47
+
48
+ {% if project_categories != empty-%}
49
+ <h2 class="tight" title=""><i class="fas fa-project-diagram" style="font-size: 0.7em;"></i>&nbsp; Project-specific</h2>
50
+ {% if site.show.alt_archive_links-%}
51
+ <ul>
52
+ {% for category in project_categories-%}
53
+ {% if site.categories contains category-%}{%-continue-%}{%-endif-%}
54
+ {%-assign projects = published_projects | where_exp: 'project', "project.categories contains category" %}
55
+ <li><a href="/categorys/{{-category | slugify-}}" title="'{{-category | capitalize-}}' projects">{{-category | capitalize-}}</a> &nbsp;({{-projects.size-}})</li>
56
+ {%-endfor %}
57
+ </ul>
58
+ {%-else-%}
59
+ {% for category in project_categories-%}
60
+ {% if site.categories contains category-%}{%-continue-%}{%-endif-%}
61
+ {%-assign projects = published_projects | where_exp: 'project', "project.categories contains category" %}
62
+ <h3 class="tight" title="'{{-category | capitalize-}}' projects">{{-category | capitalize-}}</h3>
63
+ <ol>
64
+ {%-for project in projects %}
65
+ {% include list_item.html title_template="Check out ':item_title'"-%}
66
+ {%-endfor %}
67
+ </ol>
68
+ {%-endfor %}
69
+ {% endif-%}
70
+ {%-endif %}
71
+
72
+ {% if page_categories != empty-%}
73
+ <h2 class="tight" title=""><i class="far fa-file-alt" style="font-size: 0.8em;"></i>&nbsp; Page-specific</h2>
74
+ {% if site.show.alt_archive_links-%}
75
+ <ul>
76
+ {% for category in page_categories-%}
77
+ {% if site.categories contains category-%}{%-continue-%}{%-endif-%}
78
+ {%-assign site_pages = published_pages | where_exp: 'page', "page.categories contains category"-%}
79
+ <li><a href="/categories/{{-category | slugify-}}" title="'{{-category | capitalize-}}' pages">{{-category | capitalize-}}</a> &nbsp;({{-site_pages.size-}})</li>
80
+ {%-endfor %}
81
+ </ul>
82
+ {%-else-%}
83
+ {% for category in page_categories-%}
84
+ {% if site.categories contains category-%}{%-continue-%}{%-endif-%}
85
+ {%-assign pages = published_pages | where_exp: 'page', "page.categories contains category" %}
86
+ <h3 class="tight" title="'{{-category | capitalize-}}' pages">{{-category | capitalize-}}</h3>
87
+ <ol>
88
+ {%-for pg in pages %}
89
+ {% include list_item.html title_template="Check out ':item_title'"-%}
90
+ {%-endfor %}
91
+ </ol>
92
+ {%-endfor %}
93
+ {% endif-%}
94
+ {%-endif %}