jsharmony-cms
Version:
49 lines (42 loc) • 2.42 kB
JSON
{
"menus": [ // Array of required menus
{ "name": "Main Menu", "tag": "main", "max_depth": 2 }
],
"redirect_listing_path": "jshcms_redirects.json", // For integrations - Path where redirect listing will be exported by a site component
// * Requires a site component that will generate a JSON export of all redirects to this path
// * Path should be relative to URL Prefix
"defaultEditorConfig": { // Default GUI page editor config
"webSnippetsPath": "/templates/websnippets/", // Web snippets listing path
"materialIcons": false // Whether to enable Material Icons in the Editor
// If enabled, Material Icons Font CSS Link must be added to the Page Template HTML
},
"savePastedImagesToMediaPath": "/_var/", //If defined, save any images pasted into content areas as media in the target path
"template_variables": { // Default values for Template Variables
"key": "value"
},
//Media thumbnail configuration
"media_thumbnails": {
"thumbnail_id": {
//(Optional) Resize thumbnail to fit within target width and height
"resize": [150, 150], // [width, height]
//(Optional) Crop thumbnail to target width and height
"crop": [150, 150], // [width, height]
//(Optional) Resample thumbnail to target format (jpg, png, gif, tif)
"format": "jpg",
//(Optional) Export thumbnail on publish, as filename.thumbnail_id.extension
"export": true,
//(Optional) Add as an srcset responsive breakpoint to IMG tags in published content
// If set to a string, the value will be used as the srcset condition, ex. "1x" "2x" "2048w"
// If set to true, the thumbnail width will be used as the srcset condition, ex "150w"
"responsive": true,
},
//Default Thumbnails
"file_tile": { "resize": [150, 150], "format": "jpg" },
"file_preview": { "resize": [300, 300], "format": "jpg" },
"small": { "resize": [512, 384] },
"medium": { "resize": [1024, 768] },
"large": { "resize": [2048, 1538] },
//(Optional) Set a maximum image size for uploaded media
"maximum": { "resize": [2048, 1538] },
}
}