Skip to content

@indiekit/post-type-photo

Photo post type for Indiekit.

Installation

npm install @indiekit/post-type-photo

NOTE

This package is installed alongside @indiekit/indiekit

Usage

To customise the behaviour of this plug-in, add @indiekit/post-type-photo to your configuration, specifying options as required:

json
{
  "@indiekit/post-type-photo": {
    "name": "Photo"
  }
}

Options

OptionTypeDescription
namestringPost type name.
fieldsArrayFields to show in post interface.