From 3325e40d54e9de87af8a2832860b7f507013cdcc Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Sat, 19 Jan 2019 15:17:08 -0700 Subject: [PATCH] Create teaser display for License terms --- ...ol--taxonomy-term-license-teaser.html.twig | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 agaric/templates/layout/layout--onecol--taxonomy-term-license-teaser.html.twig diff --git a/agaric/templates/layout/layout--onecol--taxonomy-term-license-teaser.html.twig b/agaric/templates/layout/layout--onecol--taxonomy-term-license-teaser.html.twig new file mode 100644 index 0000000..ec8a957 --- /dev/null +++ b/agaric/templates/layout/layout--onecol--taxonomy-term-license-teaser.html.twig @@ -0,0 +1,26 @@ +{# +/** + * @file + * Override of default theme implementation to display a one-column layout. + * + * Available variables: + * - content: The content for this layout. + * - attributes: HTML attributes for the layout
. + * + * @ingroup themeable + */ +#} +{% + set classes = [ + 'layout', + 'layout--onecol', + ] +%} +{% if content %} + +
+ {{ content.field_license_icon }} + {{ content.description}} +
+
+{% endif %}