Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Latest commit

 

History

History
 
 

components

Components

There are a few different types of component which should be used in different ways.

Blocks

Block-type components use wagtail blocks for use in a streamfield.

example: ActionLink

Templatetags

Templatetag-type components can be included in templates with django templatetags.

example: Breadcrumb

Template includes

Template includes can be used with the {% include %} tag in your templates.

example: Header (via templates)

Settings

Wagtail site settings must be enabled with the wagtailnhsukfrontend.settings app.

example: Header (via settings)

List of Components