diff --git a/agaric/templates/paragraph/paragraph--view.html.twig b/agaric/templates/paragraph/paragraph--view.html.twig new file mode 100644 index 0000000..a1920a1 --- /dev/null +++ b/agaric/templates/paragraph/paragraph--view.html.twig @@ -0,0 +1,15 @@ +{# extends 'paragraph.html.twig' #} + +{% + set classes = [ + 'section', + not paragraph.isPublished() ? 'paragraph--unpublished' + ] +%} +{% block paragraph %} +