Cleanup statuses feed

This commit is contained in:
2024-03-14 21:32:56 +11:00
parent fce549ac4b
commit e1dca33479
2 changed files with 6 additions and 8 deletions

View File

@@ -47,17 +47,15 @@
<h2>Recent Items</h2>
<xsl:for-each select="/channel/item">
<div class="pb-5">
<h3 class="mb-0">
<xsl:value-of select="title" disable-output-escaping="yes"/>
<small class="text-gray">
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="link"/>
</xsl:attribute>
<xsl:value-of select="title"/>
Published: <xsl:value-of select="pubDate" />
</a>
</h3>
<xsl:value-of select="description" disable-output-escaping="yes"/>
<small class="text-gray">
Published: <xsl:value-of select="pubDate" />
</small>
</div>
</xsl:for-each>

View File

@@ -23,9 +23,9 @@ xml.channel do |channel|
posts.each do |post|
channel.item do |item|
item.title post.display_title
item.title post.feed_content
item.description do |desc|
desc.cdata! post.feed_content
desc.cdata! post.raw_content
end
item.link(post.permalink)
item.guid(post.slug, isPermaLink: true)