{% import 'apostrophe-ui:components/dropdowns.html' as dropdowns with context -%} {%- if not (data.page and data.page.published) or (data.piece and not data.piece.published) -%}