jekyll-theme-scrawl 0.1.19 → 0.1.20
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.
- checksums.yaml +4 -4
- data/_layouts/page.html +6 -0
- data/_sass/scrawl.scss +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f916a25a843b1003c42d29c8b28cabff05f8f8f4331b51f2a6acabe9ffbeac2a
|
|
4
|
+
data.tar.gz: 599ee3bc6312accf8cf998620ed8d56310c1673e19ea7779c162ca84d4c6e6d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cdba938541df83215ce6f50c37dad69b7f16faa42ddb1bdfbf58a184c6ee6513d2bdefa22cdd72c1a5d2c35842d66e4b95f30015ce6b667d85ab76609b01fc3
|
|
7
|
+
data.tar.gz: '049f144eca3034f2469c3fe518dd6ba9641f475d9bceb9aba3d000ca222435adc91da6bb32bbc696d30f4597dcb030e60c91de935ac0138a44e1047ac37dbd90'
|
data/_layouts/page.html
CHANGED
|
@@ -6,6 +6,12 @@ layout: base
|
|
|
6
6
|
{{ '# ' | append: page.title | markdownify }}
|
|
7
7
|
{% endif %}
|
|
8
8
|
|
|
9
|
+
{% if page.reading_time != false %}
|
|
10
|
+
{% assign word_count = content | strip_html | number_of_words %}
|
|
11
|
+
{% assign reading_time = word_count | divided_by: 240 | ceil %}
|
|
12
|
+
<div class="reading-time">{{ reading_time }} minute read</div>
|
|
13
|
+
{% endif %}
|
|
14
|
+
|
|
9
15
|
{% if page.summary and page.summary != '' %}
|
|
10
16
|
{{ page.summary | markdownify }}
|
|
11
17
|
{% endif %}
|
data/_sass/scrawl.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-scrawl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Light
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-06-
|
|
11
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github-pages
|