diff options
author | Daniil Popov <int02h@gmail.com> | 2020-05-05 22:03:15 +0300 |
---|---|---|
committer | Daniil Popov <int02h@gmail.com> | 2020-05-05 22:03:15 +0300 |
commit | f1d39d9bed83921009533fffab372673a0702f5f (patch) | |
tree | 8e542018e90f6ba8cf183940dd7580459e82f0ee /layouts | |
parent | 3b76d61f4d9d4cc839fd98805833efc68dcbe1b9 (diff) |
Hide empty space at the bottom of the main page when there are no features
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html index 4c4303b..b866784 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -51,6 +51,7 @@ </div> {{end}} +{{if ne .Site.Data.features nil}} <div class="strip strip-grey"> <div class="container pt-6 pb-6 pt-md-10 pb-md-10"> <div class="row justify-content-center"> @@ -70,6 +71,8 @@ </div> </div> </div> +{{end}} + {{ end }} {{ define "footer_js" }} |