blog

git clone https://git.ce9e.org/blog.git

commit
564d4662974baf9ec4a9b4236dd947bf29917c83
parent
c77db103cb1a34acf4b4bbc0b54db0b5554d7556
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-08-14 20:36
rm feed-stylesheet.xsl

Diffstat

M _templates/feed.xml 1 -
D build/feed-stylesheet.xsl 49 -------------------------------------------------

2 files changed, 0 insertions, 50 deletions


diff --git a/_templates/feed.xml b/_templates/feed.xml

@@ -1,5 +1,4 @@
    1     1 <?xml version="1.0" encoding="utf-8"?>
    2    -1 <?xml-stylesheet type="text/xsl" href="feed-stylesheet.xsl"?>
    3     2 <feed xmlns="http://www.w3.org/2005/Atom">
    4     3 	<author>
    5     4 		<name>Tobias Bengfort</name>

diff --git a/build/feed-stylesheet.xsl b/build/feed-stylesheet.xsl

@@ -1,48 +0,0 @@
    1    -1 <?xml version="1.0" encoding="utf-8"?>
    2    -1 <xsl:stylesheet
    3    -1 	version="2.0"
    4    -1 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    5    -1 	xmlns:atom="http://www.w3.org/2005/Atom"
    6    -1 >
    7    -1 	<xsl:output method="html" encoding="UTF-8" indent="yes"/>
    8    -1 	<xsl:template match="/">
    9    -1 		<html>
   10    -1 			<head>
   11    -1 				<title><xsl:value-of select="atom:feed/atom:title"/> Feed</title>
   12    -1 				<link rel="stylesheet" type="text/css" href="static/style.css" />
   13    -1 			</head>
   14    -1 			<body>
   15    -1 				<header class="header">
   16    -1 					<div class="header__title">
   17    -1 						<a>
   18    -1 							<xsl:attribute name="href">
   19    -1 								<xsl:value-of select="atom:feed/atom:link/@href"/>
   20    -1 							</xsl:attribute>
   21    -1 							<xsl:value-of select="atom:feed/atom:title"/>
   22    -1 						</a>
   23    -1 					</div>
   24    -1 				</header>
   25    -1 
   26    -1 				<main class="l-main">
   27    -1 					<ul class="blog">
   28    -1 						<xsl:for-each select="atom:feed/atom:entry">
   29    -1 							<li class="blog__post">
   30    -1 								<a>
   31    -1 									<xsl:attribute name="href">
   32    -1 										<xsl:value-of select="atom:link/@href"/>
   33    -1 									</xsl:attribute>
   34    -1 									<xsl:attribute name="target">_blank</xsl:attribute>
   35    -1 									<xsl:value-of select="atom:title"/>
   36    -1 								</a>
   37    -1 							</li>
   38    -1 						</xsl:for-each>
   39    -1 					</ul>
   40    -1 				</main>
   41    -1 				<footer class="footer">
   42    -1 					<xsl:value-of select="atom:feed/atom:author/atom:name"/>
   43    -1 					| <a href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license">cc-by-sa</a>
   44    -1 				</footer>
   45    -1 			</body>
   46    -1 		</html>
   47    -1 	</xsl:template>
   48    -1 </xsl:stylesheet
   48    -1 
\ No newline at end of file