Skip to content

Commit ab0f125

Browse files
committed
Fix: make block titles full width for aligned images
1 parent bb7ea5a commit ab0f125

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

_includes/feature_row

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
{% for f in feature_row %}
1010
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
1111
<div class="archive__item">
12+
{% if f.title %}
13+
<h2 class="archive__item-title">{{ f.title }}</h2>
14+
{% endif %}
1215
{% if f.image_path %}
1316
<div class="archive__item-teaser">
1417
<img src="{{ f.image_path | relative_url }}"
@@ -20,9 +23,7 @@
2023
{% endif %}
2124

2225
<div class="archive__item-body">
23-
{% if f.title %}
24-
<h2 class="archive__item-title">{{ f.title }}</h2>
25-
{% endif %}
26+
2627

2728
{% if f.excerpt %}
2829
<div class="archive__item-excerpt">

0 commit comments

Comments
 (0)