use same footer everywhere

This commit is contained in:
Mylloon 2023-04-11 10:09:17 +02:00
parent 80e27bd32c
commit 04d1cee8df
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
5 changed files with 7 additions and 10 deletions

View file

@ -38,5 +38,6 @@
</head>
<body class="index">
<p style="color: aliceblue">404 :/</p>
{{> footer.html }}
</body>
</html>

View file

@ -100,8 +100,6 @@
<a href="https://github.com/secure-77/Perlite/pull/16">Perlite#16</a>
</p>
</div>
<footer class="backToIndexPage">
<a href="/" target="_self">Retour à la page principale</a>
</footer>
{{> footer.html }}
</body>
</html>

3
templates/footer.html Normal file
View file

@ -0,0 +1,3 @@
<footer class="backToIndexPage">
<a href="/" target="_self">Retour à la page principale</a>
</footer>

View file

@ -101,8 +101,6 @@
>
</p>
</div>
<footer class="backToIndexPage">
<a href="/" target="_self">Retour à la page principale</a>
</footer>
{{> footer.html }}
</body>
</html>

View file

@ -32,9 +32,6 @@
<br />
</div>
</div>
<footer class="backToIndexPage">
<a href="/" target="_self">Retour à la page principale</a>
</footer>
{{/data}}
{{/data}} {{> footer.html }}
</body>
</html>