_includes/feature_row in minimal-mistakes-jekyll-4.0.3 vs _includes/feature_row in minimal-mistakes-jekyll-4.0.4
- old
+ new
@@ -9,21 +9,21 @@
{% for f in feature_row %}
{% if f.url contains "://" %}
{% capture f_url %}{{ f.url }}{% endcapture %}
{% else %}
- {% capture f_url %}{{ f.url | prepend: "/" | absolute_url }}{% endcapture %}
+ {% capture f_url %}{{ f.url | absolute_url }}{% endcapture %}
{% endif %}
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
<div class="archive__item">
{% if f.image_path %}
<div class="archive__item-teaser">
<img src=
{% if f.image_path contains "://" %}
"{{ f.image_path }}"
{% else %}
- "{{ f.image_path | prepend: "/" | absolute_url }}"
+ "{{ f.image_path | absolute_url }}"
{% endif %}
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
</div>
{% endif %}
\ No newline at end of file