jekyll-theme-so-simple 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/LICENSE +49 -49
  4. data/README.md +15 -2
  5. data/_data/authors.yml +16 -16
  6. data/_data/navigation.yml +16 -14
  7. data/_data/text.yml +36 -36
  8. data/_includes/disqus-comments.html +19 -19
  9. data/_includes/documents-collection.html +19 -19
  10. data/_includes/entry-date.html +6 -6
  11. data/_includes/entry.html +41 -39
  12. data/_includes/footer-custom.html +3 -3
  13. data/_includes/footer.html +24 -24
  14. data/_includes/google-analytics.html +9 -9
  15. data/_includes/head-custom.html +5 -5
  16. data/_includes/head-feed.html +1 -1
  17. data/_includes/head-seo.html +1 -1
  18. data/_includes/head.html +50 -50
  19. data/_includes/lunr-search-scripts.html +106 -106
  20. data/_includes/masthead.html +13 -13
  21. data/_includes/navigation.html +17 -17
  22. data/_includes/page-author.html +37 -37
  23. data/_includes/page-categories.html +14 -14
  24. data/_includes/page-date.html +4 -4
  25. data/_includes/page-image.html +14 -14
  26. data/_includes/page-pagination.html +19 -19
  27. data/_includes/page-tags.html +14 -14
  28. data/_includes/posts-all.html +3 -3
  29. data/_includes/posts-category.html +3 -3
  30. data/_includes/posts-paginated.html +74 -74
  31. data/_includes/posts-tag.html +3 -3
  32. data/_includes/read-time.html +16 -16
  33. data/_includes/responsive-embed +16 -16
  34. data/_includes/scripts.html +1 -3
  35. data/_includes/skip-links.html +8 -8
  36. data/_includes/social-share.html +6 -6
  37. data/_includes/toc +9 -9
  38. data/_layouts/categories.html +48 -48
  39. data/_layouts/category.html +9 -9
  40. data/_layouts/collection.html +9 -9
  41. data/_layouts/default.html +1 -1
  42. data/_layouts/home.html +17 -17
  43. data/_layouts/page.html +30 -30
  44. data/_layouts/post.html +41 -41
  45. data/_layouts/posts.html +29 -29
  46. data/_layouts/search.html +1 -1
  47. data/_layouts/tag.html +9 -9
  48. data/_layouts/tags.html +48 -48
  49. data/_sass/so-simple.scss +1 -1
  50. data/_sass/so-simple/_author.scss +45 -45
  51. data/_sass/so-simple/_base.scss +112 -112
  52. data/_sass/so-simple/_buttons.scss +92 -92
  53. data/_sass/so-simple/_entries.scss +182 -182
  54. data/_sass/so-simple/_functions.scss +4 -4
  55. data/_sass/so-simple/_global.scss +393 -393
  56. data/_sass/so-simple/_icons.scss +43 -43
  57. data/_sass/so-simple/_mixins.scss +5 -5
  58. data/_sass/so-simple/_notices.scss +93 -93
  59. data/_sass/so-simple/_page.scss +287 -282
  60. data/_sass/so-simple/_reset.scss +523 -523
  61. data/_sass/so-simple/_syntax-highlighting.scss +334 -334
  62. data/_sass/so-simple/_tables.scss +34 -34
  63. data/_sass/so-simple/_utilities.scss +7 -7
  64. data/_sass/so-simple/_variables.scss +132 -132
  65. data/_sass/so-simple/functions/_color.scss +21 -21
  66. data/_sass/so-simple/functions/_em.scss +7 -7
  67. data/_sass/so-simple/functions/_fluid-type.scss +33 -33
  68. data/_sass/so-simple/functions/_yiq.scss +38 -38
  69. data/_sass/so-simple/mixins/_clearfix.scss +32 -32
  70. data/_sass/so-simple/mixins/_float.scss +15 -15
  71. data/_sass/so-simple/mixins/_image.scss +38 -38
  72. data/_sass/so-simple/mixins/_lists.scss +9 -9
  73. data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
  74. data/_sass/so-simple/utilities/_accessibility.scss +43 -43
  75. data/_sass/so-simple/utilities/_align.scss +60 -60
  76. data/_sass/so-simple/utilities/_animations.scss +99 -99
  77. data/_sass/so-simple/utilities/_clearfix.scss +7 -7
  78. data/_sass/so-simple/utilities/_float.scss +7 -7
  79. data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
  80. data/_sass/so-simple/utilities/_text.scss +48 -48
  81. data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
  82. data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
  83. data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
  84. data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
  85. data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
  86. data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
  87. data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
  88. data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
  89. data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
  90. data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
  91. data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
  92. data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
  93. data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
  94. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  95. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
  96. data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  97. data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  98. data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
  99. data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  100. data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
  101. data/assets/css/main.scss +7 -7
  102. data/assets/js/lunr/lunr.da.min.js +17 -17
  103. data/assets/js/lunr/lunr.de.min.js +17 -17
  104. data/assets/js/lunr/lunr.du.min.js +17 -17
  105. data/assets/js/lunr/lunr.es.min.js +17 -17
  106. data/assets/js/lunr/lunr.fi.min.js +17 -17
  107. data/assets/js/lunr/lunr.fr.min.js +17 -17
  108. data/assets/js/lunr/lunr.hu.min.js +17 -17
  109. data/assets/js/lunr/lunr.it.min.js +17 -17
  110. data/assets/js/lunr/lunr.jp.min.js +1 -1
  111. data/assets/js/lunr/lunr.min.js +6 -6
  112. data/assets/js/lunr/lunr.no.min.js +17 -17
  113. data/assets/js/lunr/lunr.pt.min.js +17 -17
  114. data/assets/js/lunr/lunr.ro.min.js +17 -17
  115. data/assets/js/lunr/lunr.ru.min.js +17 -17
  116. data/assets/js/lunr/lunr.sv.min.js +17 -17
  117. data/assets/js/lunr/lunr.tr.min.js +17 -17
  118. data/assets/js/main.js +17 -15
  119. data/assets/js/main.min.js +2 -2
  120. data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
  121. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
  122. data/assets/js/plugins/lity.js +655 -655
  123. data/assets/js/plugins/lity.min.js +4 -4
  124. data/assets/js/plugins/table-of-contents.js +59 -59
  125. data/assets/js/search-data.json +43 -27
  126. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1eef395cd243a00dc87c5ee1a4d5db721896938
4
- data.tar.gz: 0fec102298b6e83b1ba8a528b5ce44abd15424ed
3
+ metadata.gz: 8ea899af72b56ffdfec2c063bffbed2ffb9835cb
4
+ data.tar.gz: 4dd8298d66c55ff8556eec3cbd9fec0aed731837
5
5
  SHA512:
6
- metadata.gz: e0d84f44ea507a9525dcba50e8a4a6d670d8d74e9344675320aab46f9ea8a9719015f512627c36a70477a2c938e34fe13e6fe95a232375e0e0805a74adc40092
7
- data.tar.gz: d4f80fece7857fb9e593fc4f6ebeba22be095a3603def390ad7c9322e24980d3a5fc70c2e7db4dec44554512cd04111da4735d728a98bae4d5dad7c8eb7e41ff
6
+ metadata.gz: b2af61f7d391ec35bb33f671b5136cd3da782eca9f8ee4bc91adc21adb34c7243eeb780d44239a99cf4ac01c18874fcc4fe429606a50841f3bc269b539a416ad
7
+ data.tar.gz: 45562390e466f227cf31929abae675b3133c857c469c1f94e48a60f1cc720cdf812c19e0e4c1bfd8c17bcec05290209c0127cb8994c56f7447564c40dfd0e058
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ### Changed
11
+ - Include creation of `navigation.yml` when "starting fresh". [#270](https://github.com/mmistakes/so-simple-theme/issues/270)
12
+ - Center hero image. [#289](https://github.com/mmistakes/so-simple-theme/pull/289)
13
+ - Update Font Awesome to version [`5.0.12`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md).
14
+ - Do not show `<footer>` in `_includes/entry.html` if there is no `site.read_time` or `entry.date` (typical of collection documents). [#283](https://github.com/mmistakes/so-simple-theme/pull/283)
15
+
16
+ ### Fixed
17
+ - Fix documentation links to sample `index.md` file. [#288](https://github.com/mmistakes/so-simple-theme/issues/288)
18
+ - Fix "Uncaught TypeError: Cannot read property 'addEventListener' of null" in `main.js` when navigation isn't defined.
19
+ - Fix search form from resetting when pressing "Enter". [#278](https://github.com/mmistakes/so-simple-theme/pull/278)
20
+ - Fix author links from not displaying correct when a single link is defined in `_config.yml`. [#280](https://github.com/mmistakes/so-simple-theme/issues/280)
21
+ - Fix search result excerpts that run together because of implied spaces. [#281](https://github.com/mmistakes/so-simple-theme/pull/281)
22
+ - Fix usage of `$site-logo-height` variable in `_global.scss`. [#284](https://github.com/mmistakes/so-simple-theme/pull/284)
23
+
8
24
  ## [3.1.0] - 03-12-2018
9
25
 
10
26
  ### Changed
data/LICENSE CHANGED
@@ -1,49 +1,49 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2013-2018 Michael Rose and contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
23
- So Simple incorporates [Font Awesome](http://fontawesome.io/),
24
- Copyright (c) 2017 Dave Gandy.
25
- Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
26
- and [MIT License](http://opensource.org/licenses/MIT).
27
-
28
- So Simple incorporates photographs from [Unsplash](https://unsplash.com).
29
-
30
- So Simple incorporates photographs from [WeGraphics](http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/)
31
-
32
- So Simple incorporates [Breakpoint](http://breakpoint-sass.com/).
33
- Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
34
-
35
- So Simple incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
36
- Copyright (c) 2017 Karl Swedberg.
37
- jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
38
-
39
- So Simple incorporates [Lunr](http://lunrjs.com),
40
- Copyright (c) 2017 Oliver Nightingale.
41
- Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
42
-
43
- So Simple incorporates [Lity](http://sorgalla.com/lity/),
44
- Copyright (c) 2015-2016, Jan Sorgalla.
45
- Lity is distributed under the terms of the MIT License](http://opensource.org/licenses/MIT).
46
-
47
- So Simple incorporates [Table of Contents Toggle](https://github.com/smithtimmytim/brightlycolored.org),
48
- Copyright (c) 2017 Timothy B. Smith.
49
- Table of Contents Toggle is distributed under the terms of the MIT License](http://opensource.org/licenses/MIT).
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013-2018 Michael Rose and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ So Simple incorporates [Font Awesome](http://fontawesome.io/),
24
+ Copyright (c) 2017 Dave Gandy.
25
+ Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
26
+ and [MIT License](http://opensource.org/licenses/MIT).
27
+
28
+ So Simple incorporates photographs from [Unsplash](https://unsplash.com).
29
+
30
+ So Simple incorporates photographs from [WeGraphics](http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/)
31
+
32
+ So Simple incorporates [Breakpoint](http://breakpoint-sass.com/).
33
+ Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
34
+
35
+ So Simple incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
36
+ Copyright (c) 2017 Karl Swedberg.
37
+ jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
38
+
39
+ So Simple incorporates [Lunr](http://lunrjs.com),
40
+ Copyright (c) 2017 Oliver Nightingale.
41
+ Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
42
+
43
+ So Simple incorporates [Lity](http://sorgalla.com/lity/),
44
+ Copyright (c) 2015-2016, Jan Sorgalla.
45
+ Lity is distributed under the terms of the MIT License](http://opensource.org/licenses/MIT).
46
+
47
+ So Simple incorporates [Table of Contents Toggle](https://github.com/smithtimmytim/brightlycolored.org),
48
+ Copyright (c) 2017 Timothy B. Smith.
49
+ Table of Contents Toggle is distributed under the terms of the MIT License](http://opensource.org/licenses/MIT).
data/README.md CHANGED
@@ -181,15 +181,19 @@ If you're hosting several Jekyll based sites under the same GitHub username you
181
181
 
182
182
  If you forked or downloaded the [`so-simple-theme` repo](https://github.com/mmistakes/so-simple-theme) you can safely remove the following files and folders:
183
183
 
184
- * `docs/*`
185
- * `example/*`
184
+ * `.github`
185
+ * `docs`
186
+ * `example`
186
187
  * `.editorconfig`
187
188
  * `.gitattributes`
189
+ * `banner.js`
188
190
  * `CHANGELOG.md`
189
191
  * `Gemfile`
190
192
  * `jekyll-theme-so-simple.gemspec`
193
+ * `package.json`
191
194
  * `Rakefile`
192
195
  * `README.md`
196
+ * `README-OLD.md`
193
197
  * `screenshot.png`
194
198
 
195
199
  ## Upgrading
@@ -273,6 +277,7 @@ Layouts, includes, Sass partials, and data files are all placed in their default
273
277
 
274
278
  ```
275
279
  ├── _data # data files
280
+ | ├── navigation.yml # navigation bar links
276
281
  | └── text.yml # theme text
277
282
  ├── _includes # theme includes
278
283
  ├── _layouts # theme layouts (see below for usage)
@@ -291,6 +296,7 @@ Layouts, includes, Sass partials, and data files are all placed in their default
291
296
  After creating a `Gemfile` and installing the theme you'll need to add and edit the following files:
292
297
 
293
298
  * [`_config.yml`](_config.yml)
299
+ * [`/_data/navigation.yml`](_data/navigation.yml)
294
300
  * [`/_data/text.yml`](_data/text.yml)
295
301
  * [`index.md`](index.md)
296
302
 
@@ -582,6 +588,13 @@ author:
582
588
  icon: fab fa-github-square
583
589
  ```
584
590
 
591
+ **Note:** To disable author links completely use use:
592
+
593
+ ```yaml
594
+ author:
595
+ links: false
596
+ ```
597
+
585
598
  ### `layout: page`
586
599
 
587
600
  Visually this layout looks and acts similar `layout: post`, with the following
@@ -1,16 +1,16 @@
1
- # Sample Authors
2
- # Remove file or replace with your own
3
-
4
- Billy Rick:
5
- name: Billy Rick
6
- picture: /images/bio-photo-2.jpg
7
- twitter: "@billyrick"
8
- links:
9
- - title: Twitter
10
- url: https://twitter.com/billyrick
11
- icon: fab fa-twitter-square
12
-
13
- Cornelius Fiddlebone:
14
- name: Cornelius Fiddlebone
15
- picture: /images/bio-photo.jpg
16
- twitter: corneliusfiddlebone
1
+ # Sample Authors
2
+ # Remove file or replace with your own
3
+
4
+ Billy Rick:
5
+ name: Billy Rick
6
+ picture: /images/bio-photo-2.jpg
7
+ twitter: "@billyrick"
8
+ links:
9
+ - title: Twitter
10
+ url: https://twitter.com/billyrick
11
+ icon: fab fa-twitter-square
12
+
13
+ Cornelius Fiddlebone:
14
+ name: Cornelius Fiddlebone
15
+ picture: /images/bio-photo.jpg
16
+ twitter: corneliusfiddlebone
@@ -1,14 +1,16 @@
1
- # Sample site navigation links
2
-
3
- - title: Home
4
- url: /
5
- # - title: Posts
6
- # url: /posts/
7
- # - title: Categories
8
- # url: /categories/
9
- # - title: Tags
10
- # url: /tags/
11
- # - title: Recipes
12
- # url: /recipes/
13
- # - title: Search
14
- # url: /search/
1
+ # Sample site navigation bar links
2
+
3
+ - title: Home
4
+ url: /
5
+ # - title: Posts
6
+ # url: /posts/
7
+ # - title: Categories
8
+ # url: /categories/
9
+ # - title: Tags
10
+ # url: /tags/
11
+ # - title: Recipes
12
+ # url: /recipes/
13
+ # - title: Search
14
+ # url: /search/
15
+ # - title: External Page
16
+ # url: https://the-page.com/you-want-to-link-to.html
@@ -1,36 +1,36 @@
1
- # Theme text and labels
2
-
3
- # English (default)
4
- # -----------------
5
- en: &DEFAULT_EN
6
- skip_links: "Skip links"
7
- skip_primary_nav: "Skip to primary navigation"
8
- skip_content: "Skip to content"
9
- skip_footer: "Skip to footer"
10
- menu_label: "Menu"
11
- by: "by"
12
- min_read: "min read"
13
- read_more: "Read more&hellip;"
14
- categories: "Categories"
15
- tags: "Tags"
16
- pages_categorized: "Pages filed under"
17
- pages_tagged: "Pages tagged"
18
- table_of_contents: "Table of Contents"
19
- results_found: "Result(s) found"
20
- share: "Share"
21
- tweet: "Tweet"
22
- next: "Next"
23
- previous: "Previous"
24
- newer: "Newer"
25
- older: "Older"
26
- back_to_top: "Back to Top"
27
- search_placeholder_text: "Enter your search term..."
28
- powered_by: "Powered by"
29
- en-US:
30
- <<: *DEFAULT_EN
31
- en-CA:
32
- <<: *DEFAULT_EN
33
- en-GB:
34
- <<: *DEFAULT_EN
35
- en-AU:
36
- <<: *DEFAULT_EN
1
+ # Theme text and labels
2
+
3
+ # English (default)
4
+ # -----------------
5
+ en: &DEFAULT_EN
6
+ skip_links: "Skip links"
7
+ skip_primary_nav: "Skip to primary navigation"
8
+ skip_content: "Skip to content"
9
+ skip_footer: "Skip to footer"
10
+ menu_label: "Menu"
11
+ by: "by"
12
+ min_read: "min read"
13
+ read_more: "Read more&hellip;"
14
+ categories: "Categories"
15
+ tags: "Tags"
16
+ pages_categorized: "Pages filed under"
17
+ pages_tagged: "Pages tagged"
18
+ table_of_contents: "Table of Contents"
19
+ results_found: "Result(s) found"
20
+ share: "Share"
21
+ tweet: "Tweet"
22
+ next: "Next"
23
+ previous: "Previous"
24
+ newer: "Newer"
25
+ older: "Older"
26
+ back_to_top: "Back to Top"
27
+ search_placeholder_text: "Enter your search term..."
28
+ powered_by: "Powered by"
29
+ en-US:
30
+ <<: *DEFAULT_EN
31
+ en-CA:
32
+ <<: *DEFAULT_EN
33
+ en-GB:
34
+ <<: *DEFAULT_EN
35
+ en-AU:
36
+ <<: *DEFAULT_EN
@@ -1,19 +1,19 @@
1
- {% if page.comments != false and jekyll.environment == "production" %}
2
- <div class="page-comments">
3
- <div id="disqus_thread"></div>
4
- <script>
5
- var disqus_config = function () {
6
- this.page.url = '{{ page.url | absolute_url }}';
7
- this.page.identifier = '{{ page.url | absolute_url }}';
8
- };
9
-
10
- (function() {
11
- var d = document, s = d.createElement('script');
12
- s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
13
- s.setAttribute('data-timestamp', +new Date());
14
- (d.head || d.body).appendChild(s);
15
- })();
16
- </script>
17
- <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
18
- </div>
19
- {% endif %}
1
+ {% if page.comments != false and jekyll.environment == "production" %}
2
+ <div class="page-comments">
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
13
+ s.setAttribute('data-timestamp', +new Date());
14
+ (d.head || d.body).appendChild(s);
15
+ })();
16
+ </script>
17
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
18
+ </div>
19
+ {% endif %}
@@ -1,19 +1,19 @@
1
- {% assign entries = site[include.collection] %}
2
-
3
- {% if include.sort_by == 'title' %}
4
- {% if include.sort_order == 'reverse' %}
5
- {% assign entries = entries | sort: 'title' | reverse %}
6
- {% else %}
7
- {% assign entries = entries | sort: 'title' %}
8
- {% endif %}
9
- {% elsif include.sort_by == 'date' %}
10
- {% if include.sort_order == 'reverse' %}
11
- {% assign entries = entries | sort: 'date' | reverse %}
12
- {% else %}
13
- {% assign entries = entries | sort: 'date' %}
14
- {% endif %}
15
- {% endif %}
16
-
17
- {%- for entry in entries -%}
18
- {% include entry.html %}
19
- {%- endfor -%}
1
+ {% assign entries = site[include.collection] %}
2
+
3
+ {% if include.sort_by == 'title' %}
4
+ {% if include.sort_order == 'reverse' %}
5
+ {% assign entries = entries | sort: 'title' | reverse %}
6
+ {% else %}
7
+ {% assign entries = entries | sort: 'title' %}
8
+ {% endif %}
9
+ {% elsif include.sort_by == 'date' %}
10
+ {% if include.sort_order == 'reverse' %}
11
+ {% assign entries = entries | sort: 'date' | reverse %}
12
+ {% else %}
13
+ {% assign entries = entries | sort: 'date' %}
14
+ {% endif %}
15
+ {% endif %}
16
+
17
+ {%- for entry in entries -%}
18
+ {% include entry.html %}
19
+ {%- endfor -%}
@@ -1,6 +1,6 @@
1
- {%- unless page.layout == 'collection' -%}
2
- <time class="entry-date dt-published" datetime="{{ entry.date | date_to_xmlschema }}">
3
- {%- assign date_format = site.date_format | default: "%B %-d, %Y" -%}
4
- {{ entry.date | date: date_format }}
5
- </time>
6
- {%- endunless -%}
1
+ {%- unless page.layout == 'collection' -%}
2
+ <time class="entry-date dt-published" datetime="{{ entry.date | date_to_xmlschema }}">
3
+ {%- assign date_format = site.date_format | default: "%B %-d, %Y" -%}
4
+ {{ entry.date | date: date_format }}
5
+ </time>
6
+ {%- endunless -%}
@@ -1,39 +1,41 @@
1
- {% if entry.id %}
2
- {% assign title = entry.title | markdownify | strip_html %}
3
- {% else %}
4
- {% assign title = entry.title %}
5
- {% endif %}
6
-
7
- <article class="entry h-entry">
8
- <header class="entry-header">
9
- <h3 class="entry-title p-name">
10
- {% if entry.link %}
11
- <a class="u-bookmark-of" href="{{ entry.link }}">{{ title }} <span class="link-arrow">&rarr;</span></a>
12
- {% else %}
13
- <a href="{{ entry.url | relative_url }}" rel="bookmark">{{ title }}</a>
14
- {% endif %}
15
- </h3>
16
- {% if entry.image.thumbnail %}
17
- {% assign entry_image = entry.image.thumbnail %}
18
- {% unless entry_image contains '://' %}
19
- {% assign entry_image = entry_image | relative_url %}
20
- {% endunless %}
21
- {% assign entry_image = entry_image | escape %}
22
- <img class="entry-image u-photo" src="{{ entry_image }}" alt="">
23
- {% endif %}
24
- </header>
25
- {% unless page.show_excerpts == false %}
26
- <div class="entry-excerpt p-summary">
27
- {% if entry.excerpt %}
28
- {{ entry.excerpt | markdownify }}
29
- <div class="more-link">
30
- <a href="{{ entry.url | relative_url }}">{{ site.data.text[site.locale].read_more | default: 'Read More' }}</a>
31
- </div>
32
- {% endif %}
33
- </div>
34
- {% endunless %}
35
- <footer class="entry-meta">
36
- {% if site.read_time %}{% include read-time.html %}{% endif %}
37
- {% if entry.date %}{% include entry-date.html %}{% endif %}
38
- </footer>
39
- </article>
1
+ {% if entry.id %}
2
+ {% assign title = entry.title | markdownify | strip_html %}
3
+ {% else %}
4
+ {% assign title = entry.title %}
5
+ {% endif %}
6
+
7
+ <article class="entry h-entry">
8
+ <header class="entry-header">
9
+ <h3 class="entry-title p-name">
10
+ {% if entry.link %}
11
+ <a class="u-bookmark-of" href="{{ entry.link }}">{{ title }} <span class="link-arrow">&rarr;</span></a>
12
+ {% else %}
13
+ <a href="{{ entry.url | relative_url }}" rel="bookmark">{{ title }}</a>
14
+ {% endif %}
15
+ </h3>
16
+ {% if entry.image.thumbnail %}
17
+ {% assign entry_image = entry.image.thumbnail %}
18
+ {% unless entry_image contains '://' %}
19
+ {% assign entry_image = entry_image | relative_url %}
20
+ {% endunless %}
21
+ {% assign entry_image = entry_image | escape %}
22
+ <img class="entry-image u-photo" src="{{ entry_image }}" alt="">
23
+ {% endif %}
24
+ </header>
25
+ {% unless page.show_excerpts == false %}
26
+ <div class="entry-excerpt p-summary">
27
+ {% if entry.excerpt %}
28
+ {{ entry.excerpt | markdownify }}
29
+ <div class="more-link">
30
+ <a href="{{ entry.url | relative_url }}">{{ site.data.text[site.locale].read_more | default: 'Read More' }}</a>
31
+ </div>
32
+ {% endif %}
33
+ </div>
34
+ {% endunless %}
35
+ {% if site.read_time or entry.date and page.layout != 'collection' %}
36
+ <footer class="entry-meta">
37
+ {% if site.read_time %}{% include read-time.html %}{% endif %}
38
+ {% if entry.date %}{% include entry-date.html %}{% endif %}
39
+ </footer>
40
+ {% endif %}
41
+ </article>