jekyll-theme-so-simple 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/LICENSE +49 -49
- data/README.md +15 -2
- data/_data/authors.yml +16 -16
- data/_data/navigation.yml +16 -14
- data/_data/text.yml +36 -36
- data/_includes/disqus-comments.html +19 -19
- data/_includes/documents-collection.html +19 -19
- data/_includes/entry-date.html +6 -6
- data/_includes/entry.html +41 -39
- data/_includes/footer-custom.html +3 -3
- data/_includes/footer.html +24 -24
- data/_includes/google-analytics.html +9 -9
- data/_includes/head-custom.html +5 -5
- data/_includes/head-feed.html +1 -1
- data/_includes/head-seo.html +1 -1
- data/_includes/head.html +50 -50
- data/_includes/lunr-search-scripts.html +106 -106
- data/_includes/masthead.html +13 -13
- data/_includes/navigation.html +17 -17
- data/_includes/page-author.html +37 -37
- data/_includes/page-categories.html +14 -14
- data/_includes/page-date.html +4 -4
- data/_includes/page-image.html +14 -14
- data/_includes/page-pagination.html +19 -19
- data/_includes/page-tags.html +14 -14
- data/_includes/posts-all.html +3 -3
- data/_includes/posts-category.html +3 -3
- data/_includes/posts-paginated.html +74 -74
- data/_includes/posts-tag.html +3 -3
- data/_includes/read-time.html +16 -16
- data/_includes/responsive-embed +16 -16
- data/_includes/scripts.html +1 -3
- data/_includes/skip-links.html +8 -8
- data/_includes/social-share.html +6 -6
- data/_includes/toc +9 -9
- data/_layouts/categories.html +48 -48
- data/_layouts/category.html +9 -9
- data/_layouts/collection.html +9 -9
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +17 -17
- data/_layouts/page.html +30 -30
- data/_layouts/post.html +41 -41
- data/_layouts/posts.html +29 -29
- data/_layouts/search.html +1 -1
- data/_layouts/tag.html +9 -9
- data/_layouts/tags.html +48 -48
- data/_sass/so-simple.scss +1 -1
- data/_sass/so-simple/_author.scss +45 -45
- data/_sass/so-simple/_base.scss +112 -112
- data/_sass/so-simple/_buttons.scss +92 -92
- data/_sass/so-simple/_entries.scss +182 -182
- data/_sass/so-simple/_functions.scss +4 -4
- data/_sass/so-simple/_global.scss +393 -393
- data/_sass/so-simple/_icons.scss +43 -43
- data/_sass/so-simple/_mixins.scss +5 -5
- data/_sass/so-simple/_notices.scss +93 -93
- data/_sass/so-simple/_page.scss +287 -282
- data/_sass/so-simple/_reset.scss +523 -523
- data/_sass/so-simple/_syntax-highlighting.scss +334 -334
- data/_sass/so-simple/_tables.scss +34 -34
- data/_sass/so-simple/_utilities.scss +7 -7
- data/_sass/so-simple/_variables.scss +132 -132
- data/_sass/so-simple/functions/_color.scss +21 -21
- data/_sass/so-simple/functions/_em.scss +7 -7
- data/_sass/so-simple/functions/_fluid-type.scss +33 -33
- data/_sass/so-simple/functions/_yiq.scss +38 -38
- data/_sass/so-simple/mixins/_clearfix.scss +32 -32
- data/_sass/so-simple/mixins/_float.scss +15 -15
- data/_sass/so-simple/mixins/_image.scss +38 -38
- data/_sass/so-simple/mixins/_lists.scss +9 -9
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
- data/_sass/so-simple/utilities/_accessibility.scss +43 -43
- data/_sass/so-simple/utilities/_align.scss +60 -60
- data/_sass/so-simple/utilities/_animations.scss +99 -99
- data/_sass/so-simple/utilities/_clearfix.scss +7 -7
- data/_sass/so-simple/utilities/_float.scss +7 -7
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
- data/_sass/so-simple/utilities/_text.scss +48 -48
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
- data/assets/css/main.scss +7 -7
- data/assets/js/lunr/lunr.da.min.js +17 -17
- data/assets/js/lunr/lunr.de.min.js +17 -17
- data/assets/js/lunr/lunr.du.min.js +17 -17
- data/assets/js/lunr/lunr.es.min.js +17 -17
- data/assets/js/lunr/lunr.fi.min.js +17 -17
- data/assets/js/lunr/lunr.fr.min.js +17 -17
- data/assets/js/lunr/lunr.hu.min.js +17 -17
- data/assets/js/lunr/lunr.it.min.js +17 -17
- data/assets/js/lunr/lunr.jp.min.js +1 -1
- data/assets/js/lunr/lunr.min.js +6 -6
- data/assets/js/lunr/lunr.no.min.js +17 -17
- data/assets/js/lunr/lunr.pt.min.js +17 -17
- data/assets/js/lunr/lunr.ro.min.js +17 -17
- data/assets/js/lunr/lunr.ru.min.js +17 -17
- data/assets/js/lunr/lunr.sv.min.js +17 -17
- data/assets/js/lunr/lunr.tr.min.js +17 -17
- data/assets/js/main.js +17 -15
- data/assets/js/main.min.js +2 -2
- data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
- data/assets/js/plugins/lity.js +655 -655
- data/assets/js/plugins/lity.min.js +4 -4
- data/assets/js/plugins/table-of-contents.js +59 -59
- data/assets/js/search-data.json +43 -27
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ea899af72b56ffdfec2c063bffbed2ffb9835cb
|
4
|
+
data.tar.gz: 4dd8298d66c55ff8556eec3cbd9fec0aed731837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2af61f7d391ec35bb33f671b5136cd3da782eca9f8ee4bc91adc21adb34c7243eeb780d44239a99cf4ac01c18874fcc4fe429606a50841f3bc269b539a416ad
|
7
|
+
data.tar.gz: 45562390e466f227cf31929abae675b3133c857c469c1f94e48a60f1cc720cdf812c19e0e4c1bfd8c17bcec05290209c0127cb8994c56f7447564c40dfd0e058
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
* `
|
185
|
-
* `
|
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
|
data/_data/authors.yml
CHANGED
@@ -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
|
data/_data/navigation.yml
CHANGED
@@ -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
|
data/_data/text.yml
CHANGED
@@ -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…"
|
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…"
|
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 -%}
|
data/_includes/entry-date.html
CHANGED
@@ -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 -%}
|
data/_includes/entry.html
CHANGED
@@ -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">→</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
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
</
|
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">→</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>
|