Skip to content

Refactor adding plugin to page by using templates

Created by: pamtbaau

Since I do not oversee all use-cases of this plugin I would suggest to carefully review the changes to prevent breaking any use-case.

Added the following usage:

  • Add plugin to page using template(s)
  • Plugin partial template can be included to templates of theme, eg. blog-item template
  • Plugin layout can be overridden by copying the template to theme and adapt
  • Plugin config can be set per page in frontmatter
  • Each page using plugin has own data file
  • Both regular and modular pages are supported

Merge request reports