diff options
author | Leonid Evdokimov <leon@darkk.net.ru> | 2018-01-28 21:29:51 +0300 |
---|---|---|
committer | Leonid Evdokimov <leon@darkk.net.ru> | 2018-01-28 21:29:51 +0300 |
commit | a4803d7bb5257c82adb2b80b6033b6b175d78fad (patch) | |
tree | ed410282ede350148412360e0757460304179f58 | |
parent | 18398f84e2508243d0ae599b9d2f57074021949b (diff) |
Do not generate modal block that is never shown
-rw-r--r-- | layouts/partials/projects.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html index 946bc86..af87a3f 100644 --- a/layouts/partials/projects.html +++ b/layouts/partials/projects.html @@ -39,7 +39,7 @@ <!-- End Projects container --> <!-- Projects modals --> -{{ range sort .Pages }} {{ if eq .Section "projects" }} +{{ range sort .Pages }} {{ if eq .Section "projects" }} {{ if not .Params.external_link }} <div class="modal" id="modal{{.Title | urlize}}"> <div class="modal-background"></div> <div class="modal-card"> @@ -67,7 +67,7 @@ $('#modal{{.Title | urlize}}').removeClass('is-active'); }); </script> -{{ end }} {{ end }} +{{ end }} {{ end }} {{ end }} <div class="container has-text-centered top-pad"> |