Skip to content

Commit 179c076

Browse files
committed
removing slash on homepage
1 parent 0cd278f commit 179c076

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

_includes/hero.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
<section class="hero-block slash-shadow block-{{ page.hero-translucancy }} {{ page.colour }}-bg slash-{{ page.hero-slash-angle }}">
1+
{% if page.layout == 'home' %}
2+
<section class="hero-block">
3+
{% else %}
4+
<section class="hero-block slash-shadow block-{{ page.hero-translucancy }} {{ page.colour }}-bg slash-{{ page.hero-slash-angle }}">
5+
{% endif %}
6+
7+
28
<div class="hero-inner grid">
39
<h1 class="hero-title col-1-1">{% if page.hero-title %}{{page.hero-title}}{% else %}{{page.title}}{% endif %}</h1>
10+
411
{% if page.hero-subtitle %}
512
<p class="hero-subtitle col-1-1">{{page.hero-subtitle}}</p>
613
{% endif %}

0 commit comments

Comments
 (0)