Document

    Use the document utility function to create a Type with the following preconfigured fields:

    • title

    • path

    • metadata

    alinea.document('Web page', {
      // Extra fields
      [alinea.meta]: {
        // Configuration
      }
    })

    Configuration

    Configuration options are the same as for a Type.