Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-01 14:08:26 +0300
committerHanzei <hanzei@mailbox.org>2018-07-01 14:08:26 +0300
commit0d6371f6eb072f7e6e902a78ecad2824b4323f1c (patch)
tree18bc894d79ec434f91d8a8f7d14a3619db1a704e /layouts/partials/home/projects.html
parent015b4bbd4115e2d8ef41ee644e794848d89f43e2 (diff)
Remove updlicate ids
Diffstat (limited to 'layouts/partials/home/projects.html')
-rw-r--r--layouts/partials/home/projects.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/home/projects.html b/layouts/partials/home/projects.html
index 8e2c057..afba803 100644
--- a/layouts/partials/home/projects.html
+++ b/layouts/partials/home/projects.html
@@ -15,7 +15,7 @@
{{ else }}
<div class="column is-one-third">
{{ end }}
- <div id="project-{{ $index }}" class="card">
+ <div class="card" data-target="#project-{{ $index }}">
<div class="card-image">
<figure class="image is-3by2">
<a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}>
@@ -60,7 +60,7 @@
</section>
{{ end }}
</div>
- <button class="modal-close is-large" aria-label="close"></button>
+ <button class="modal-close is-large" aria-label="close" data-target="#project-{{ $index }}"></button>
</div>
{{ end }}
{{ end }}