aboutsummaryrefslogtreecommitdiff
path: root/static/yap/theme.xsl
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-10-08 02:56:51 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-10-08 02:56:51 +0200
commit0afba1167bce330bd9c3510a2fab7a3cf6a4cbb4 (patch)
tree639044f1c47c308dd5e944b43c0e91614c0d7a22 /static/yap/theme.xsl
parent73fae3cb403711254d40d62db6ac3260919f0769 (diff)
downloadmitjafelicijan.com-0afba1167bce330bd9c3510a2fab7a3cf6a4cbb4.tar.gz
Yap: Moved description to title
Diffstat (limited to 'static/yap/theme.xsl')
-rw-r--r--static/yap/theme.xsl23
1 files changed, 19 insertions, 4 deletions
diff --git a/static/yap/theme.xsl b/static/yap/theme.xsl
index e6f80f8..44e679b 100644
--- a/static/yap/theme.xsl
+++ b/static/yap/theme.xsl
@@ -32,6 +32,21 @@
32 }); 32 });
33 </script> 33 </script>
34 34
35 <!--
36 Examples:
37
38 <item>
39 <guid>1</guid>
40 <title>Example of Image post</title>
41 <pubDate>Wed, 02 Oct 2002 08:00:00 EST</pubDate>
42 <enclosure url="https://placeimg.com/550/300/tech" />
43 </item>
44 <item>
45 <title>Example of Text post</title>
46 <pubDate>Wed, 02 Oct 2002 08:00:00 EST</pubDate>
47 </item>
48 -->
49
35 </head> 50 </head>
36 51
37 <body> 52 <body>
@@ -40,7 +55,7 @@
40 <div class="flex py-4 mt-4 mb-6 items-center gap-2"> 55 <div class="flex py-4 mt-4 mb-6 items-center gap-2">
41 <h1> 56 <h1>
42 <a href="/" class="text-xl font-bold hover:bg-yellow-100"> 57 <a href="/" class="text-xl font-bold hover:bg-yellow-100">
43 <xsl:value-of select="rss/channel/title" /> 58 <xsl:value-of select="rss/channel/pageTitle" />
44 </a> 59 </a>
45 </h1> 60 </h1>
46 </div> 61 </div>
@@ -79,9 +94,9 @@
79 </div> 94 </div>
80 </xsl:if> 95 </xsl:if>
81 96
82 <xsl:if test="description"> 97 <xsl:if test="title">
83 <div class="description"> 98 <div>
84 <xsl:value-of select="description" /> 99 <xsl:value-of select="title" />
85 </div> 100 </div>
86 </xsl:if> 101 </xsl:if>
87 </section> 102 </section>