diff options
author | Russell Palmiter <rpalmite@users.noreply.github.com> | 2018-04-12 09:11:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-12 09:11:10 +0300 |
commit | 0cd882a6cc9e4fa23890bf3e6369d0e478a9ce13 (patch) | |
tree | ca904cdb940e8ad5d2e807a7d68645a7e3166332 | |
parent | ccc5bfa019276c1bba066c0a13b8881259c22910 (diff) |
make the intro button optional
i propose making the button optional. i dont need the buttons and it looks great without them.
-rwxr-xr-x | layouts/partials/intro.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html index ec6d410..667d5f3 100755 --- a/layouts/partials/intro.html +++ b/layouts/partials/intro.html @@ -9,7 +9,9 @@ <i class="fh5co-intro-icon {{ .icon }}"></i>
<h2>{{ .title }}</h2>
<p>{{ .description }}</p>
+ {{ if .button}}
<p><a href="{{ .url }}" class="btn btn-primary">{{ .button}}</a></p>
+ {{ end }}
</div>
</div>
{{ end }}
@@ -23,4 +25,4 @@ </div>
{{ end }}
</div>
- </section>
\ No newline at end of file + </section>
|