Reorganize partials

This commit is contained in:
Christian Wolf 2023-01-21 23:29:45 +01:00
parent fada6a77ab
commit 085096a8fe
5 changed files with 11 additions and 4 deletions

View File

@ -1,18 +1,18 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
{{- partial "page/head.html" . -}}
<body>
<div id="wrapper">
{{- partial "header.html" . -}}
{{- partial "page/header.html" . -}}
<div class="main">
<div class="left-menu">
{{- partial "left_menu" . -}}
{{- partial "page/left_menu" . -}}
</div>
<div id="content">
{{- block "main" . -}}{{- end -}}
</div>
</div>
{{- partial "footer.html" . -}}
{{- partial "page/footer.html" . -}}
</div>
</body>
</html>

View File

@ -7,4 +7,6 @@
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
<script defer src="{{ relURL "js/jquery-3.6.3.min.js" }}"></script>
<script defer src="{{ relURL "js/slider.js" }}"></script>
</head>

View File

@ -9,6 +9,11 @@
</div>
<div class="slider">
<img src="{{ relURL "img/banner/Banner-RENOTE.jpg" }}">
<img src="{{ relURL "img/banner/Banner-Show2016.jpg" }}" class="hidden">
<img src="{{ relURL "img/banner/Banner2019.jpg" }}" class="hidden">
<img src="{{ relURL "img/banner/Fotobanner2.jpg" }}" class="hidden">
<img src="{{ relURL "img/banner/Paare_2019.jpg" }}" class="hidden">
<img src="{{ relURL "img/banner/slider-turnier.jpg" }}" class="hidden">
</div>
<div id="nav-border" class="container nav">
<nav id="nav" class="nav justify-content-center">