prettify header.xml
This commit is contained in:
parent
6a2b8f974f
commit
bf7e7fddac
|
@ -7,13 +7,11 @@
|
|||
xmlns:date="http://exslt.org/dates-and-times" exclude-result-prefixes="xsl rss rdf date">
|
||||
|
||||
<xsl:template name="links">
|
||||
|
||||
<link rel="icon" type="image/png" href="{$baseurl}favicon.ico" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$baseurl}news-rss.xml" />
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{$baseurl}news-atom.xml" />
|
||||
<link rel="stylesheet" title="Default" type="text/css" href="{$baseurl}style/default.css" />
|
||||
<link rel="space-api" title="Hackerspace API Endpoint" type="application/json"
|
||||
href="http://www.hq.c3d2.de/spaceapi.json"/>
|
||||
<link rel="space-api" title="Hackerspace API Endpoint" type="application/json" href="http://www.hq.c3d2.de/spaceapi.json"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="header">
|
||||
|
@ -41,7 +39,8 @@
|
|||
|
||||
<xsl:comment>[if lt IE 9]>
|
||||
<script src="<xsl:value-of select="$baseurl"/>script/ie-html5.js" type="text/javascript"></script>
|
||||
<![endif]</xsl:comment>
|
||||
<![endif]
|
||||
</xsl:comment>
|
||||
<xsl:if test="/page/calendar-summary">
|
||||
<!-- vv01f: todo: build tags for existing files only -->
|
||||
<xsl:call-template name="make-script-tag">
|
||||
|
@ -74,10 +73,9 @@
|
|||
<xsl:template name="make-script-tag">
|
||||
<xsl:param name="name"/>
|
||||
|
||||
<script src="{$baseurl}script/{$name}.js"
|
||||
type="text/javascript" defer="defer">
|
||||
<script src="{$baseurl}script/{$name}.js" type="text/javascript" defer="defer">
|
||||
<xsl:text>
|
||||
</xsl:text>
|
||||
</xsl:text>
|
||||
</script>
|
||||
</xsl:template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue