This playbook is a detailed guidebook of actions that help us create the best content for our readers.
The Playbook is set up to be for logged-in users only, though this can be changed with .yml config:
DNADesign\Playbook\Pages\Playbook:
logged_in_only: false
The build uses the dna-recipe-build-tools setup, with the contenthash removed from the built files filenames so as not to conflict with the projects implementation of the webpack resource loader.
The site logo path can be changed in .yml config:
DNADesign\Playbook\Pages\Playbook:
logo_path_site: '/_resources/vendor/dnadesign/playbook/client/svg/dna.svg'
Alternatively, an upload field can be enabled in the CMS:
DNADesign\Playbook\Pages\Playbook:
allow_siteconfig_logo: true
The Introduction field on playbook page is of type HTMLText. This field can be configured to use a TextareaField or an HTMLEditorField. It can also be configured to use an alternative WYSIWYG configuration.
To change from the default TextareaField, and use a 'link-editor' custom wysiwyg definition, add .yml config like:
DNADesign\Playbook\Pages\Playbook:
intro_type: html
intro_editor: link-editor