summaryrefslogtreecommitdiff
path: root/tools/xml-to-html.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xml-to-html.xsl')
-rw-r--r--tools/xml-to-html.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xml-to-html.xsl b/tools/xml-to-html.xsl
index 440fc4d..aa8e343 100644
--- a/tools/xml-to-html.xsl
+++ b/tools/xml-to-html.xsl
@@ -82,7 +82,7 @@
<body>
<xsl:apply-templates mode="body" select="xhtml:body/*" />
<footer>
- <xsl:if test="not(//notes)">
+ <xsl:if test="not(//notes) and @created and @modified">
<a href="https://defanor.uberspace.net/">defanor</a>,
<time><xsl:copy-of select="substring(@created,0,8)" /></time>
<xsl:if test="substring(@created,0,8) != substring(@modified,0,8)"> to <time><xsl:copy-of select="substring(@modified,0,8)" /></time></xsl:if>