New Type

Description

This command will automatically create a folder in your content/ directory with the type name, a _blueprint.json file inside that folder that describes the type's field structure, and a corresponding template in layouts/content/ that has the same name as the type.

Usage

You can create a new content type by running plenti new type YOUR_NEW_TYPE.

Flags

LongShortDescription
--endpoint=true-e=truePass "false" if you don't want your new type to have an endpoint that site visitors can access directly
--single=false-s=falsePass "true" if you want your new type to be a one-off route that is different structurally from other content