{{ `<?xml version="1.0" encoding="utf-8" ?>` | safeHTML }}
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html" doctype-system="about:legacy-compat" />
  <xsl:template match="/rss/channel">
    <html lang="{{ site.LanguageCode }}">
      <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        {{ hugo.Generator }}
        <title><xsl:value-of select="title" /></title>
        {{ with .Scratch.Get "css" }}
        <link rel="stylesheet" href="{{ .base.Permalink }}" integrity="{{ .base.Data.Integrity }}" />
        {{ end }}
      </head>
      <body>
        {{ partial "banner.html" . }}
        <main>
          <div class="u-wrapper">
            <div class="u-padding">
              <h2 class="Heading-title">
                <a class="Heading-link u-clickable" href="{link}" rel="bookmark"><xsl:value-of select="title" /></a>
              </h2>
              {{ with site.Params.rss }}
              <p>
                {{ . | safeHTML }}
              </p>
              {{ end }}
            </div>
          </div>
        </main>
        {{ partial "footer.html" . }}
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
