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> </head>
<body class="index"> <body class="index">
<p style="color: aliceblue">404 :/</p> <p style="color: aliceblue">404 :/</p>
{{> footer.html }}
</body> </body>
</html> </html>

View file

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

View file

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