projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
profiles
/
demo_umami
/
themes
/
umami
/
templates
/
layout
/
page.html.twig
diff --git
a/web/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig
b/web/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig
index 0cce8e4f96fef5542ddce5a3c97bace5d3f2f36b..87357525bce64310d3ea9964af7df29341412cb3 100644
(file)
--- a/
web/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig
+++ b/
web/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig
@@
-44,10
+44,16
@@
#}
<div class="layout-container">
#}
<div class="layout-container">
- {% if page.header|render|striptags|trim is not empty %}
+ {% if page.pre_header|render|striptags|trim is not empty or
+ page.header|render|striptags|trim is not empty %}
<header class="layout-header" role="banner">
<div class="container">
<header class="layout-header" role="banner">
<div class="container">
- {{ page.header }}
+ {% if page.pre_header|render|striptags|trim is not empty %}
+ {{ page.pre_header }}
+ {% endif %}
+ {% if page.header|render|striptags|trim is not empty %}
+ {{ page.header }}
+ {% endif %}
</div>
</header>
{% endif %}
</div>
</header>
{% endif %}
@@
-111,6
+117,12
@@
</main>
</main>
+ {% if page.content_bottom|render|striptags|trim is not empty %}
+ <div class="layout-content-bottom">
+ {{ page.content_bottom }}
+ </div>
+ {% endif %}
+
{% if page.footer|render|striptags|trim is not empty %}
<div class="layout-footer">
<footer class="footer" role="contentinfo">
{% if page.footer|render|striptags|trim is not empty %}
<div class="layout-footer">
<footer class="footer" role="contentinfo">