Skip to content

The playbook is a detailed guidebook of actions that help us create the best content for our readers

License

Notifications You must be signed in to change notification settings

dnadesign/playbook

Repository files navigation

DNA's website Playbook

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

Front-end build

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.

Customising

Logos

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

Intro editor

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

About

The playbook is a detailed guidebook of actions that help us create the best content for our readers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •