aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-02-11 12:14:12 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2026-02-11 12:14:12 +0100
commit87f528c60bd59ac1a961faa35e3e431e48801729 (patch)
tree5fb755e00f5f6f78a9bc3895cda1f1adca86984d /templates
parentda04b82856c152eb28c9ebde9384f4fe94d8ae4e (diff)
downloadscratch-gallery-87f528c60bd59ac1a961faa35e3e431e48801729.tar.gz
scratch-gallery-87f528c60bd59ac1a961faa35e3e431e48801729.zip
remove license from demo alt text
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
-rw-r--r--templates/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 403a8d0..fb04a89 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -86,7 +86,7 @@
<div class="row">
{% for _, game in games.items() %}
<div class="column">
- <img class="demo cursor {{ section }}-{{ subsection }}-demo" src="img_woods.jpg" style="width:100%" onclick="currentSlide('{{ section }}-{{ subsection }}', {{ loop.index }})" alt="{{ game.Name }} von {{ game.Team }} {{ game.Lizenz }} ">
+ <img class="demo cursor {{ section }}-{{ subsection }}-demo" src="img_woods.jpg" style="width:100%" onclick="currentSlide('{{ section }}-{{ subsection }}', {{ loop.index }})" alt="{{ game.Name }} von {{ game.Team }}">
</div>
{% endfor %}
</div>
diff --git a/templates/index.js b/templates/index.js
index 9fed4c0..1d8f50e 100644
--- a/templates/index.js
+++ b/templates/index.js
@@ -39,7 +39,7 @@ function showSlides(id, n) {
if ('Download' in project) {
captionText.innerHTML = `<a href="${project.Pfad}/${project.Download}" download>${project.Name}</a> von ${project.Team} ${project.Lizenz}`
} else {
- captionText.innerHTML = dots[slideIndeces[id]-1].alt;
+ captionText.innerHTML = `${project.Name} von ${project.Team} ${project.Lizenz}`
}
}