diff options
author | tdro <tdro@noreply.example.com> | 2022-11-12 21:33:04 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-11-12 21:33:04 -0500 |
commit | e8d6280abb4b7cdfc03bec80af6506399e5fdf51 (patch) | |
tree | 8dcda04eb178a121e3427efb0d9720b44cafa8d8 | |
parent | e020e2d96e8e54aa283cec878da13fc783a94534 (diff) | |
download | canory-e8d6280abb4b7cdfc03bec80af6506399e5fdf51.tar.gz canory-e8d6280abb4b7cdfc03bec80af6506399e5fdf51.tar.bz2 canory-e8d6280abb4b7cdfc03bec80af6506399e5fdf51.zip |
Makefile: Quick check xslt
Max version of 1.1 supported by xsltproc
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | shell.nix | 1 | ||||
-rw-r--r-- | themes/default/layouts/_default/home.xslt.xsl | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -23,6 +23,7 @@ server: test: make test-html + make test-xsl test-html: validatornu \ @@ -33,6 +34,10 @@ test-css: validatornu --css \ assets/css/default.css +test-xsl: + xsltproc \ + public/rss.xsl + icons: rm -rf static/icons mkdir -p static/icons/feather static/icons/tabler @@ -62,6 +62,7 @@ in mkShellPure { pkgs.entr pkgs.git pkgs.gnumake + pkgs.libxslt pkgs.php pkgs.subversion pkgs.yj diff --git a/themes/default/layouts/_default/home.xslt.xsl b/themes/default/layouts/_default/home.xslt.xsl index 8595c8e..a97ad0b 100644 --- a/themes/default/layouts/_default/home.xslt.xsl +++ b/themes/default/layouts/_default/home.xslt.xsl @@ -4,7 +4,7 @@ xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" - version="3.0" + version="1.1" > <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> |