XSLT/HTML fixes
This commit is contained in:
parent
438ed7bb3e
commit
600303a2c8
@ -156,7 +156,7 @@
|
|||||||
<xsl:attribute name="title" select="{atom:source/atom:title}"/>
|
<xsl:attribute name="title" select="{atom:source/atom:title}"/>
|
||||||
<xsl:value-of select="atom:source/planet:name"/>
|
<xsl:value-of select="atom:source/planet:name"/>
|
||||||
</a>
|
</a>
|
||||||
<xsl:if test="atom:title">
|
<xsl:if test="string-length(atom:title) > 0">
|
||||||
<xsl:text>—</xsl:text>
|
<xsl:text>—</xsl:text>
|
||||||
<a href="{atom:link[@rel='alternate']/@href}">
|
<a href="{atom:link[@rel='alternate']/@href}">
|
||||||
<xsl:if test="atom:title/@xml:lang != @xml:lang">
|
<xsl:if test="atom:title/@xml:lang != @xml:lang">
|
||||||
|
@ -12,13 +12,16 @@
|
|||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="default.css" type="text/css" />
|
<link rel="stylesheet" href="default.css" type="text/css" />
|
||||||
<title><xsl:value-of select="atom:title"/></title>
|
<title><xsl:value-of select="atom:title"/></title>
|
||||||
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
<meta name="generator" content="{atom:generator}" />
|
<meta name="generator" content="{atom:generator}" />
|
||||||
<xsl:if test="atom:link[@rel='self']">
|
<xsl:if test="atom:link[@rel='self']">
|
||||||
<link rel="alternate" href="{atom:link[@rel='self']/@uri}"
|
<link rel="alternate" href="{atom:link[@rel='self']/@uri}"
|
||||||
title="{atom:title}" type="{atom:link[@rel='self']/@type}" />
|
title="{atom:title}" type="{atom:link[@rel='self']/@type}" />
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<link rel="shortcut icon" href="/favicon.ico" />
|
<link rel="shortcut icon" href="/favicon.ico" />
|
||||||
<script type="text/javascript" src="personalize.js"></script>
|
<script type="text/javascript" src="personalize.js">
|
||||||
|
<xsl:comment>HTML Compatibility</xsl:comment>
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
@ -129,7 +132,7 @@
|
|||||||
<xsl:attribute name="title" select="{atom:source/atom:title}"/>
|
<xsl:attribute name="title" select="{atom:source/atom:title}"/>
|
||||||
<xsl:value-of select="atom:source/planet:name"/>
|
<xsl:value-of select="atom:source/planet:name"/>
|
||||||
</a>
|
</a>
|
||||||
<xsl:if test="atom:title">
|
<xsl:if test="string-length(atom:title) > 0">
|
||||||
<xsl:text>—</xsl:text>
|
<xsl:text>—</xsl:text>
|
||||||
<a href="{atom:link[@rel='alternate']/@href}">
|
<a href="{atom:link[@rel='alternate']/@href}">
|
||||||
<xsl:if test="atom:title/@xml:lang != @xml:lang">
|
<xsl:if test="atom:title/@xml:lang != @xml:lang">
|
||||||
|
Loading…
Reference in New Issue
Block a user