Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_gesso
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_gesso
Commits
a77a8d4c
Commit
a77a8d4c
authored
3 years ago
by
wodby
Browse files
Options
Downloads
Patches
Plain Diff
adding logic to card to check for card_type on single image output
parent
9830e44b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!69
Feature ISTWCMS 4914 M26lebla removing second print of single 'image' when using on card--banner.twig
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/_patterns/04-components/card/card.twig
+1
-1
1 addition, 1 deletion
source/_patterns/04-components/card/card.twig
with
1 addition
and
1 deletion
source/_patterns/04-components/card/card.twig
+
1
−
1
View file @
a77a8d4c
...
...
@@ -72,7 +72,7 @@
</div>
{%
endif
%}
{%
if
image
%}
{%
if
image
and
not
card_type
==
'banner'
%}
<div
class=
"card__image"
>
<img
src=
"
{{
image
}}
"
alt=
"
{{
alt
}}
"
/>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment