commit: 593df32ed3c36ee3b16652634e5209d8463f7682
parent b132f346b21465030023cbf8caa91b56c50f5562
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 25 Nov 2024 13:22:37 +0100
animelist.xhtml: Switch to full XInclude
Diffstat:
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/animelist.xhtml.in b/animelist.xhtml.in
@@ -1,12 +1,15 @@
 <!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:xi="http://www.w3.org/2001/XInclude"
+	xml:lang="en" lang="en"
+>
 	<head>
-<!--#include file="templates/head.shtml" -->
+		<xi:include href="templates/head.xml" parse="xml" xpointer="xpointer(/xml/*)"/>
 		<title>Anime List — lanodan’s cyber-home</title>
 		<link rel="stylesheet" href="css/sorttable.css?serial=2020091801"/>
 	</head>
 	<body>
-<!--#include file="/templates/en/nav.shtml" -->
+	<xi:include href="templates/en/nav.xml" parse="xml"/>
 <!-- Sorted by Name -->
 		<section class="box-center">
 			<h1>Anime List</h1>
@@ -404,8 +407,8 @@
 				</tbody>
 			</table>
 		</section>
-		<!--#include file="templates/en/footer.shtml" -->
 		<!-- needs to be at the end… -->
 		<script defer="" src="javascript/sorttable.js?serial=2023030901"></script>
 	</body>
+	<xi:include href="templates/en/footer.shtml" parse="xml"/>
 </html>
diff --git a/build.ninja b/build.ninja
@@ -39,7 +39,7 @@ build atom.fr.xsl: xinclude atom.fr.xsl.in
 
 build templates/en/nav.xml: xslt templates/en/nav.xml.in | templates/en/nav.xsl
 
-build animelist.xhtml: xinclude animelist.xhtml.in
+build animelist.xhtml: xinclude animelist.xhtml.in | templates/en/nav.xml
 build projects/index.xhtml: xinclude projects/index.in.xhtml | templates/en/nav.xml
 
 build images/linux-audio-output.png: dot images/linux-audio-output.dot