Skip to content

Commit

Permalink
feat(shs-5149): add content heading check to date-stacked-vertical-ca…
Browse files Browse the repository at this point in the history
…rd pattern
  • Loading branch information
cienvaras committed Dec 5, 2023
1 parent 9c995b1 commit 020a282
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@

{% if title %}
<div class="hb-card__title">
<h2>{{ title }}</h2>
{% if title|render matches '/<h\\d>/' %}
{{ title }}
{% else %}
<h2>{{ title }}</h2>
{% endif %}
</div>
{% endif %}

Expand Down

0 comments on commit 020a282

Please sign in to comment.