From 700529c6ca341bf194df2ddf0e15c6d15f51b451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 16 Oct 2018 13:46:54 -0400 Subject: [PATCH] Add the is-2 class to Agaric title There's got to be an easy way... for now, i'm overriding the template. --- agaric/templates/content/page-title.html.twig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 agaric/templates/content/page-title.html.twig diff --git a/agaric/templates/content/page-title.html.twig b/agaric/templates/content/page-title.html.twig new file mode 100644 index 0000000..6535580 --- /dev/null +++ b/agaric/templates/content/page-title.html.twig @@ -0,0 +1,19 @@ +{# +/** + * @file + * Theme override for page titles. + * + * Available variables: + * - title_attributes: HTML attributes for the page title element. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the main title tag that appears in the template. + * - title: The page title, for use in the actual content. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the main title tag that appears in the template. + */ +#} +{{ title_prefix }} +{% if title %} + {{ title }} +{% endif %} +{{ title_suffix }}