mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 06:20:02 +00:00
Do not generate modal block that is never shown
This commit is contained in:
parent
18398f84e2
commit
a4803d7bb5
1 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue