diff options
| -rw-r--r-- | templates/index.html | 2 | ||||
| -rw-r--r-- | templates/index.js | 2 |
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}` } } |
