Pure CMS is a production ready website builder designed to allow for easy page creation using a series of pre-designed content blocks that allow us to quickly and simply. Being made with Django and built using the excellent Wagtail CMS it is developer focussed and extensible, allowing for developers to quickly add features and integrate required functionality where necessary, while providing a rich experience for content writers and administration staff.
Features
Theme-able Customise a theme to suit your branding
Live Preview Exiting pages shows a live preview
Mobile Friendly All pages support mobile divices
Tag Management Build in tag management for analytics
Custom Icon Fonts Support for branded and custom icon fonts
Google ReCAPTCHA Support All forms use Google ReCAPTCHA to prevent unwanted contact
class PureGroupMenuItem(SubmenuMenuItem):
"""
A subclass of wagtail's SubmenuMenuItem, used by ModelViewSetGroup to add a
link to the admin menu with its own submenu, linking to various listing
pages
Customised to add a Pure Creative SVG icons
"""
menu_order = 8998
def __init__(self, viewsetgroup, order, menu):
menu_icon = viewsetgroup.icon
classnames = "pure %s" % menu_icon
icon_name = (
"" # TODO: get SVG icons to work, setting pure icons using classnames
)
print(self, order, self.menu_order)
super().__init__(
label=viewsetgroup.menu_label,
menu=menu,
name=viewsetgroup.menu_name,
classnames=classnames,
icon_name=icon_name,
order=order or self.menu_order,
)