jekyll 3.9.4 → 3.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/page.rb +15 -0
- data/lib/jekyll/version.rb +1 -1
- 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: affc86c8917b55679fa7f950312c7586e7c4b710a8ef3f51dee8e33585857302
|
4
|
+
data.tar.gz: 949129cfae088c2d85b1492111edbe6fbfe520a47ce716c5d903dc8d10d80141
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5139f4309d5b4a9d363dcb48650504150f502ffe5e9447936820cdd8ba34e8ae1e911dea443fcb0c44ef9ff8639f9edd1bfcd38c4212f7ddd30e0e735867e9
|
7
|
+
data.tar.gz: bc18d9621cac2ae75a5a0f75cb47603b443846e9a362459e3aff5e7870f9e044f8cbc1aa3bf83f7ed6770ce231d22a40e037983fe0653e0e0e06a6c7871a372f
|
data/lib/jekyll/page.rb
CHANGED
@@ -183,5 +183,20 @@ module Jekyll
|
|
183
183
|
def write?
|
184
184
|
true
|
185
185
|
end
|
186
|
+
|
187
|
+
# The Page excerpt_separator, from the YAML Front-Matter or site
|
188
|
+
# default excerpt_separator value
|
189
|
+
#
|
190
|
+
# Returns the document excerpt_separator
|
191
|
+
def excerpt_separator
|
192
|
+
(data["excerpt_separator"] || site.config["excerpt_separator"]).to_s
|
193
|
+
end
|
194
|
+
|
195
|
+
# Whether to generate an excerpt
|
196
|
+
#
|
197
|
+
# Returns true if the excerpt separator is configured.
|
198
|
+
def generate_excerpt?
|
199
|
+
!excerpt_separator.empty?
|
200
|
+
end
|
186
201
|
end
|
187
202
|
end
|
data/lib/jekyll/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.9.
|
4
|
+
version: 3.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|