_includes/hero.html in intia-theme-0.1.32 vs _includes/hero.html in intia-theme-0.1.33
- old
+ new
@@ -6,10 +6,14 @@
{% endif %}
<h1 class="title is-1 {% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1>
{% if page.hero_image %}
<img src="{{page.hero_image}}" alt="placeholder" class="is-rounded is-hidden-mobile">
{% endif %}
- <p class="subtitle is-4">{{ page.subtitle }}</p>
+ {% if page.subtitle_markdownify %}
+ <p class="subtitle is-4">{{ page.subtitle | markdownify }}</p>
+ {% else %}
+ <p class="subtitle is-4">{{ page.subtitle }}</p>
+ {% endif %}
{% if page.hero_link %}
<a href="{{ page.hero_link | relative_url }}" class="button is-rounded is-dark">
<span>{{ page.hero_link_text }}</span>
<span class="icon is-small">
<i class="fas fa-chevron-right fa-xs"></i>
\ No newline at end of file