Skip to content
Snippets Groups Projects
Unverified Commit 6159033b authored by fauno's avatar fauno
Browse files

Merge branch 'hotfix/0.2.1'

parents 6c4e4dc2 6848ba3b
Branches 9199-register-for-obfsvpnintro-scheme
Tags
No related merge requests found
......@@ -40,6 +40,7 @@ pandoc:
sheetsize: 'a4paper'
imposition: true
binder: true
covers_dir: assets/covers
flags: '--smart'
site_flags: '--toc'
......@@ -75,6 +76,8 @@ regular jekyll site build.
* `sheetsize` is the page size for ready the print PDF
* `covers_dir` the directory where covers are stored
**IMPORTANT**: As of version 0.1.0 the syntax of the config changed.
Please upgrade your `_config.yml` accordingly.
......@@ -91,6 +94,17 @@ image on the epub result.
cover: images/awesome.png
---
For categories or posts without a cover specified, the plugin looks for
a PNG file inside the `covers_dir` whose file name will be the
category/post slug.
Since 0.2.0, there's also support for PDF covers. If you have a PNG
cover, it will get converted to PDF. You can also provide a PDF cover
as long as it's the same file name as the PNG cover.
* Category cover: `assets/covers/the_category_slug.png`
* PDF cover: `assets/covers/the_slug.pdf`
### Paper sizes
For PDFs, each article can have a `papersize` and a `sheetsize`. The
......
module JekyllPandocMultipleFormats
VERSION = '0.2.0'
VERSION = '0.2.1'
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment