Don't generate empty atom file
This commit is contained in:
parent
5756f38b81
commit
9576759ed4
|
@ -29,9 +29,6 @@
|
|||
<xsl:template name="atom">
|
||||
<xsl:param name="title"/>
|
||||
<xsl:param name="uuid"/>
|
||||
<xsl:result-document method="xml" encoding="UTF-8"
|
||||
href="{concat($g_root, '/', $title, '.atom')}">
|
||||
</xsl:result-document>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>UW Computer Science Club <xsl:value-of select="$title"/></title>
|
||||
<link href="http://csclub.uwaterloo.ca/{$title}.atom" rel="self"/>
|
||||
|
|
Loading…
Reference in New Issue