Introduce reset.css and theme.css and refactor style.css to import them via layers; add Unscii font files and preload links. Add RSS XSL/CSS and a css-test page; remove legacy snes.min.css. Tweak BaseLayout and contact layout (preloads, grid gaps). Rename index.astro to parallax.astro and created new basic index page. Improve input styles and contact form placeholders
49 lines
1.7 KiB
XML
49 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||
<xsl:output method="html" version="1.0" encoding="utf-8" indent="yes"/>
|
||
<xsl:template match="/">
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<title>RSS – <xsl:value-of select="/rss/channel/title"/></title>
|
||
<meta charset="utf-8"/>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
<link rel="stylesheet" href="/rss.css"/>
|
||
</head>
|
||
<body>
|
||
<header>
|
||
<h1><xsl:value-of select="/rss/channel/title"/></h1>
|
||
<p><xsl:value-of select="/rss/channel/description"/></p>
|
||
<p>
|
||
<a>
|
||
<xsl:attribute name="href">
|
||
<xsl:value-of select="/rss/channel/link"/>
|
||
</xsl:attribute>
|
||
<xsl:value-of select="/rss/channel/link"/>
|
||
</a>
|
||
</p>
|
||
</header>
|
||
<main>
|
||
<h2>Recent Posts</h2>
|
||
<xsl:for-each select="/rss/channel/item">
|
||
<article>
|
||
<xsl:if test="title">
|
||
<h3>
|
||
<a rel="noopener noreferrer" target="_blank">
|
||
<xsl:attribute name="href">
|
||
<xsl:value-of select="link"/>
|
||
</xsl:attribute>
|
||
<xsl:value-of select="title"/>
|
||
</a>
|
||
</h3>
|
||
</xsl:if>
|
||
<p><xsl:value-of select="description"/></p>
|
||
<p>
|
||
<small>Published: <time><xsl:value-of select="pubDate"/></time></small>
|
||
</p>
|
||
</article>
|
||
</xsl:for-each>
|
||
</main>
|
||
</body>
|
||
</html>
|
||
</xsl:template>
|
||
</xsl:stylesheet>
|