Skip to content
Snippets Groups Projects
Commit 935c02ec authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5195: fixing title and url in title on card

parent cc340963
No related branches found
No related tags found
1 merge request!118Feature/istwcms 5195 ebremner node theming
......@@ -10,6 +10,7 @@
{% include '@components/card/card-elements/_title.twig' with {
'header_level': 2,
'title': header.title,
'type': type
} %}
{% endif %}
......
......@@ -5,13 +5,14 @@
<strong>
{% endif %}
{% if url %}
{% if url and type != 'node' %}
<a href="{{ url }}">
{% endif %}
{{ title }}
{% if url %}
{% if url and type != 'node' %}
</a>
{% endif %}
......
......@@ -24,7 +24,8 @@
{% if show_header == 'yes' %}
{% include '@components/card/card-elements/_header.twig' with {
'header': header,
'show_title': show_title
'show_title': show_title,
'type': type
} %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment