Document

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

    • title

    • path

    • metadata

    import {Config} from 'alinea'
    
    Config.document('Web page', {
      fields: {
        // Extra fields
      }
    })

    Configuration

    Configuration options are the same as for a Type.