From 4014f12395ca63d44e201aacbd99af812515fc04 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 17 Feb 2021 19:43:24 +0000 Subject: [PATCH] Task 2 - Add intro text --- templates/includes/home/intro-text.html.twig | 5 +++++ templates/pages/home.html.twig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 templates/includes/home/intro-text.html.twig diff --git a/templates/includes/home/intro-text.html.twig b/templates/includes/home/intro-text.html.twig new file mode 100644 index 0000000..7b66357 --- /dev/null +++ b/templates/includes/home/intro-text.html.twig @@ -0,0 +1,5 @@ +
+

Florida DrupalCamp is an annual conference that brings together web developers from all over the world to learn, network and discuss web development and the Drupal content management system.

+ + Learn more +
diff --git a/templates/pages/home.html.twig b/templates/pages/home.html.twig index 4646edb..75b3544 100644 --- a/templates/pages/home.html.twig +++ b/templates/pages/home.html.twig @@ -1,5 +1,5 @@ {% extends 'page.html.twig' %} {% block content %} -

Welcome to the Tailwind CSS workshop

+ {% include 'includes/home/intro-text.html.twig' %} {% endblock %}