jekyll-paspagon 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-paspagon/hooks.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92fe5badf86afc82ddc43a513650398af335c5e2
|
4
|
+
data.tar.gz: 6cba2527467cb32d79e60eb781d373e1a80c6407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb497f916d6ab4cccf71648d3313c4e078e4989cf36494efeb3e50ecdd950e264343861d18eafbffff3544f2b6d40458391444543e790e2327f39676ffa7680b
|
7
|
+
data.tar.gz: 5efb8c3751a8a05b99d9ed7ba1557224433d4e31059cba8b392732779647906064e5a715c802762e3e68e2b330a430815c2ff8284b64f5e7ae0d2f9ab293c880
|
@@ -157,7 +157,7 @@ def generation_command(post, format, _format_config, dest_path)
|
|
157
157
|
case format
|
158
158
|
when 'azw3', 'mobi', 'pdf'
|
159
159
|
intermediary_path = File.join(Dir.tmpdir, Digest::SHA256.hexdigest(dest_path) + '.epub')
|
160
|
-
"pandoc #{post.path} -f #{input_format} -t epub -o #{intermediary_path} && ebook-convert #{intermediary_path} #{dest_path} > /dev/null && rm #{intermediary_path}"
|
160
|
+
"pandoc #{post.path} -f #{input_format} -t epub -o #{intermediary_path} && ebook-convert #{intermediary_path} #{dest_path} --start-reading-at \"//h:h1[not(contains (@class, 'title'))]\" > /dev/null && rm #{intermediary_path}"
|
161
161
|
else
|
162
162
|
"pandoc #{post.path} -f #{input_format} -t #{format} -o #{dest_path}"
|
163
163
|
end
|