-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix/#64: Replace old implementation to check empty regions with contrib module… #117
Conversation
…ttachments alter hook
…ass Framework update
…ic `(s)css` rules
… `(s)css` rules
…c `(s)css` rules
…c `(s)css` rules
…stic `(s)css` rules
…ral and stylistic `(s)css` rules
…ylistic `(s)css` rules
…tic `(s)css` rules
…nd stylistic `(s)css` rules
…ylistic `(s)css` rules
…e Sass Framework update - Alignment classes - Float clearing - Invisible content & Screenreaders
…-styling` assets library
# Conflicts: # css/theme/theme--kiso.css # kiso.libraries.yml # scss/config/_variable-overrides.scss # scss/theme/elements/_headings.scss
# [*] fonts/font-awesome/fa-brands-400.ttf # [*] fonts/font-awesome/fa-brands-400.woff2 # [*] fonts/font-awesome/fa-regular-400.ttf # [*] fonts/font-awesome/fa-regular-400.woff2 # [*] fonts/font-awesome/fa-solid-900.ttf # [*] fonts/font-awesome/fa-solid-900.woff2 # [*] fonts/font-awesome/fa-regular-400.ttf # [*] fonts/font-awesome/font-awesome.css # [+] fonts/font-awesome/fa-v4compatibility.ttf # [+] fonts/font-awesome/fa-v4compatibility.woff2 # [-] fonts/font-awesome/fa-brands-400.eot # [-] fonts/font-awesome/fa-brands-400.svg # [-] fonts/font-awesome/fa-brands-400.woff # [-] fonts/font-awesome/fa-regular-400.eot # [-] fonts/font-awesome/fa-regular-400.svg # [-] fonts/font-awesome/fa-regular-400.woff # [-] fonts/font-awesome/fa-solid-900.eot # [-] fonts/font-awesome/fa-solid-900.svg # [-] fonts/font-awesome/fa-solid-900.woff
…ral rules from stylistic rules for the stylesheets (Baseline)
… "Twig Real Content"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jclemmenb4y,
Your changes should be re-based on the 3.0.x
(default) branch. The 3.1.x
branch is a "beta" candidate for a "possible" new future release of Kiso with Openfed Next.
@@ -89,7 +85,7 @@ | |||
{{ page.breadcrumb }} | |||
{% endblock %} | |||
|
|||
{% if has_navigation or has_complementary %} | |||
{% if page.navigation|render is real_content %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing test if complementary
region is empty:
{% if page.navigation|render is real_content or page.complementary|render is real_content %}
This pull request relates to BOSA_0100-358 (JIRA issue) and replaces old implementation to check empty regions with contrib module "Twig Real Content".
Module "Twig Real Content" should also be added in OpenFed as declaring in Kiso's dependencies currently doesn't trigger the installation and doesn't enable the module (see https://www.drupal.org/node/2937955).
Function "has_region" declared in file "preprocess.utils.inc" might need to be kept currently to avoid issue with custom themes that override page.html.twig. What do you think @smillart ?