diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index 41348441..7786ef0c 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -45,7 +45,51 @@ Jump to the navigation menu - {% block body %}{% endblock %} +
+ {% include 'banner.html.twig' %} + +
+
+ {% include 'logo.html.twig' %} +
+
+ +
+
+ {% block content_top %}{% endblock %} + +
+ {% if page.url matches "#^/atdc/#" %} +
+
+
+

I'm currently updating this course for Drupal 11. If you find any bugs or have any issues, please let me know. +

+
+
+ {% endif %} + +

+ {% block page_title %}{{ page.title }}{% endblock %} +

+ +
+ {% block content_wrapper %} + {% block content %}{% endblock %} + {% endblock %} +
+
+ + {% block content_bottom %}{% endblock %} +
+ + +
+
{# Add the Mastodon verification link so pages can be verified. #} diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig deleted file mode 100644 index 1f5abf8e..00000000 --- a/source/_layouts/default.html.twig +++ /dev/null @@ -1,49 +0,0 @@ -{% extends 'base' %} - -{% block body %} -
- {% include 'banner.html.twig' %} - -
-
- {% include 'logo.html.twig' %} -
-
- -
-
- {% block content_top %}{% endblock %} - -
- {% if page.url matches "#^/atdc/#" %} -
-
-
-

I'm currently updating this course for Drupal 11. If you find any bugs or have any issues, please let me know. -

-
-
- {% endif %} - -

- {% block page_title %}{{ page.title }}{% endblock %} -

- -
- {% block content_wrapper %} - {% block content %}{% endblock %} - {% endblock %} -
-
- - {% block content_bottom %}{% endblock %} -
- - -
-
-{% endblock %} diff --git a/source/_layouts/page.html.twig b/source/_layouts/page.html.twig index 3d01df5d..d055ba34 100644 --- a/source/_layouts/page.html.twig +++ b/source/_layouts/page.html.twig @@ -1,4 +1,4 @@ -{% extends 'default' %} +{% extends 'base' %} {% block content_bottom %} {% include 'about-me.html.twig' %}