Skip to content

Commit

Permalink
Add language into external JSON-LD filename
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschr committed Mar 22, 2024
1 parent 181ed57 commit ba0e7e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion suse2022-ns/xhtml/json-ld.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,10 @@
filename="<xsl:value-of select="$filename"/>"
</xsl:message>
-->

<!-- We take into account the language as well -->
<xsl:call-template name="write.chunk">
<xsl:with-param name="filename" select="concat($json-ld-base.dir, $filename)"/>
<xsl:with-param name="filename" select="concat($json-ld-base.dir, $lang, '-', $filename)"/>
<xsl:with-param name="quiet" select="0"/>
<xsl:with-param name="method">text</xsl:with-param>
<xsl:with-param name="doctype-public"/>
Expand Down

0 comments on commit ba0e7e4

Please sign in to comment.