_includes/post.html in observatorio-jekyll-theme-0.1.4 vs _includes/post.html in observatorio-jekyll-theme-0.1.5
- old
+ new
@@ -15,10 +15,10 @@
{% comment %}
El margen negativo al 100% hace que se solape el div sobre el img.
{% endcomment %}
<div class="{% if overlap %}h-{{ height }} mt-n{{ height }} justify-content-end{% endif %} pl-3 pr-3 pb-3 d-flex flex-column">
<header class="position-relative">
- <h1 class="h4 {{ overlap | value_unless: 'mt-3' }}">
+ <h1 class="{{ overlap | ternary: 'mt-3 h5', 'h4' }}">
<a
class="{{ overlap | ternary: 'white', 'black' }} line-clamp-5"
href="{{ include.post.url }}">
<span class="{{ overlap | value_if: 'background-blue-t4' }}">{{ include.post.title }}</span>
</a>