eleventy-plugin-asciidoc 1.3.2 → 1.3.3

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.
package/README.md CHANGED
@@ -10,8 +10,8 @@ The plugin uses [Asciidoctor.js](https://docs.asciidoctor.org/asciidoctor.js) un
10
10
 
11
11
  - Supports the default [YAML front matter](https://www.11ty.dev/docs/data-frontmatter/).
12
12
  - Supports [AsciiDoc document title](https://docs.asciidoctor.org/asciidoc/latest/document/title/#title-syntax)
13
- - Other attributes in the AsciiDoc files are made available through `page.asciidocAttributes`.
14
- - Example `:author: Jane Doe` in the `.adoc` file will be available as `page.asciidocAttrbutes.author`
13
+ - Other attributes in the AsciiDoc files are made available in templates through `asciidocAttributes`.
14
+ - Example `:author: Jane Doe` in the `.adoc` file will be available as `asciidocAttrbutes.author`
15
15
 
16
16
  ## Usage
17
17
 
@@ -31,7 +31,7 @@ const getData = (inputPath) => {
31
31
  const attributes = doc.getAttributes();
32
32
  const title = doc.getDocumentTitle();
33
33
  debug(`Document title ${title}`);
34
- debug(`Document attributes: ${attributes}`);
34
+ debug(`Document attributes: ${JSON.stringify(attributes)}`);
35
35
 
36
36
  return {
37
37
  title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleventy-plugin-asciidoc",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Adds support for AsciiDoc to Eleventy",
5
5
  "main": ".eleventy.js",
6
6
  "repository": {