Skip to content

@egoist egoist released this May 11, 2019 · 22 commits to master since this release

BREAKING CHANGES

  • Inject excerpt as page.excerpt instead of page.attributes.excerpt
  • Inject markdown headings as page.markdownHeadings instead of page.attributes.markdownHeadings
  • api.pages.extendPageProps is removed.

New Features

  • Assets handling in page attributes.
    You can use the page attribute assets to reference local resources, for example:
    ---
    assets:
      cover: ./ice.png
    ---
    Then ./ice.png will be processed by webpack and in your component page.attributes.assets.cover will be the absolute path to the processed file.
    You can also use the @ alias in the path which is pointed to your project root, e.g. @/assets/images/cover.png.
  • saber-plugin-pwa: Support appleTouchIcon, docs
Assets 2
You can’t perform that action at this time.