blob: 2c3e88338f1071e9de0b2732c27cccf9de635891 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{{ `<?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>
|