Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_wcms_gesso
Commits
b0c4c8fd
Commit
b0c4c8fd
authored
Jan 25, 2022
by
Eric Bremner
Committed by
Liam Morland
Jan 25, 2022
Browse files
ISTWCMS-5340: fixing empty img src and alt tags
parent
1c445697
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
source/_patterns/04-components/card/card-elements/_banner.twig
...e/_patterns/04-components/card/card-elements/_banner.twig
+8
-0
No files found.
source/_patterns/04-components/card/card-elements/_banner.twig
View file @
b0c4c8fd
...
...
@@ -3,11 +3,19 @@
<a
href=
"
{{
image.link
}}
"
>
{%
endif
%}
<div
class=
"card__banner--media"
>
{%
if
listing_image.img_element
%}
{%
include
"@components/responsive-image/responsive-image.twig"
with
{
sources
:
image.sources
,
img_element
:
listing_image.img_element
,
alt
:
listing_image.alt
}
%}
{%
else
%}
{%
include
"@components/responsive-image/responsive-image.twig"
with
{
sources
:
image.sources
,
img_element
:
image.img_element
,
alt
:
image.alt
}
%}
{%
endif
%}
</div>
{%
if
image.big_text
or
image.small_text
%}
<div
class=
"card__banner--caption"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment