_includes/hero.html in intia-theme-0.1.53 vs _includes/hero.html in intia-theme-0.1.54

- old
+ new

@@ -1,18 +1,18 @@ -<section class="hero is-primary is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_tags %} {{ page.hero_tags }} {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}> +<section class="hero is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_tags %} {{ page.hero_tags }} {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}> <div class="hero-body"> <div class="container"> {% if page.title_above %} - <h1 class="overtitle subtitle is-4">{{ page.title_above }}</h1> + <h5 class="overtitle">{{ page.title_above }}</h5> {% endif %} - <h1 class="title is-1 {% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1> + <h1 class="{% 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 %} {% if page.subtitle_markdownify %} - <p class="subtitle is-4">{{ page.subtitle | markdownify }}</p> + <h4>{{ page.subtitle | markdownify }}</h4> {% else %} - <p class="subtitle is-4">{{ page.subtitle }}</p> + <h4>{{ page.subtitle }}</h4> {% 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"> \ No newline at end of file