Offload banner generation into dedicated partial
Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
parent
c9a5fbef8a
commit
ab85eb9dc7
15
themes/tsc_vfl/layouts/partials/page/banner-images.html
Normal file
15
themes/tsc_vfl/layouts/partials/page/banner-images.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<img src="{{ relURL "img/banner/Banner-RENOTE.jpg" }}" class="placeholder">
|
||||||
|
<img src="{{ relURL "img/banner/Banner-RENOTE.jpg" }}" class="hidden slider-img">
|
||||||
|
<img src="{{ relURL "img/banner/Banner-Show2016.jpg" }}" class="hidden slider-img">
|
||||||
|
<img src="{{ relURL "img/banner/Banner2019.jpg" }}" class="hidden slider-img">
|
||||||
|
<img src="{{ relURL "img/banner/Fotobanner2.jpg" }}" class="hidden slider-img">
|
||||||
|
<img src="{{ relURL "img/banner/Paare_2019.jpg" }}" class="hidden slider-img">
|
||||||
|
<img src="{{ relURL "img/banner/slider-turnier.jpg" }}" class="hidden slider-img">
|
||||||
|
<div class="dots">
|
||||||
|
<div data-index="0" class="dot active"></div>
|
||||||
|
<div data-index="1" class="dot"></div>
|
||||||
|
<div data-index="2" class="dot"></div>
|
||||||
|
<div data-index="3" class="dot"></div>
|
||||||
|
<div data-index="4" class="dot"></div>
|
||||||
|
<div data-index="5" class="dot"></div>
|
||||||
|
</div>
|
@ -8,21 +8,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="slider">
|
<div class="slider">
|
||||||
<img src="{{ relURL "img/banner/Banner-RENOTE.jpg" }}" class="placeholder">
|
{{ partial "page/banner-images.html" . }}
|
||||||
<img src="{{ relURL "img/banner/Banner-RENOTE.jpg" }}" class="hidden slider-img">
|
|
||||||
<img src="{{ relURL "img/banner/Banner-Show2016.jpg" }}" class="hidden slider-img">
|
|
||||||
<img src="{{ relURL "img/banner/Banner2019.jpg" }}" class="hidden slider-img">
|
|
||||||
<img src="{{ relURL "img/banner/Fotobanner2.jpg" }}" class="hidden slider-img">
|
|
||||||
<img src="{{ relURL "img/banner/Paare_2019.jpg" }}" class="hidden slider-img">
|
|
||||||
<img src="{{ relURL "img/banner/slider-turnier.jpg" }}" class="hidden slider-img">
|
|
||||||
<div class="dots">
|
|
||||||
<div data-index="0" class="dot active"></div>
|
|
||||||
<div data-index="1" class="dot"></div>
|
|
||||||
<div data-index="2" class="dot"></div>
|
|
||||||
<div data-index="3" class="dot"></div>
|
|
||||||
<div data-index="4" class="dot"></div>
|
|
||||||
<div data-index="5" class="dot"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="nav-border" class="container nav">
|
<div id="nav-border" class="container nav">
|
||||||
<nav id="nav" class="nav justify-content-center">
|
<nav id="nav" class="nav justify-content-center">
|
||||||
|
Loading…
Reference in New Issue
Block a user