diff --git a/README.md b/README.md index 209c2f3..9348871 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,16 @@ export default function (eleventyConfig) { }; ``` +## Usage + +Add the extension ".pdf" to the permalink of the template's front matter. + +```yaml +--- +permalink: "my-file.pdf" +--- +``` + ## Options The `options` object can contain: diff --git a/package.json b/package.json index 0ff5ad8..9f7706b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eleventy-plugin-pdf", - "version": "1.0.0", + "version": "1.0.1", "description": "A plugin for 11ty that generates a pdf file from a template", "main": "eleventy.config.js", "type": "module",