mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 08:56:42 +00:00 
			
		
		
		
	Update 4 files
- /feed.json - /_layouts/default.html - /rss.xml - /feed.xslt.xml
This commit is contained in:
		@ -59,7 +59,7 @@ https://nicolas-hoizey.com/feeds/all.xml
 | 
			
		||||
            </h1>
 | 
			
		||||
            <h2><xsl:value-of select="atom:feed/atom:title"/></h2>
 | 
			
		||||
            <p><xsl:value-of select="atom:feed/atom:description"/></p>
 | 
			
		||||
            <p>This preview only shows titles, but the actual feed contains the full content.</p>
 | 
			
		||||
            <p>This preview only shows titles and summaries, but the actual feed(Atom) contains the full content.</p>
 | 
			
		||||
            <a>
 | 
			
		||||
              <xsl:attribute name="href">
 | 
			
		||||
                <xsl:value-of select="/atom:feed/atom:link[2]/@href"/>
 | 
			
		||||
@ -69,6 +69,7 @@ https://nicolas-hoizey.com/feeds/all.xml
 | 
			
		||||
          </header>
 | 
			
		||||
          <h2>Recent Items</h2>
 | 
			
		||||
          <xsl:apply-templates select="atom:feed/atom:entry" />
 | 
			
		||||
          <xsl:apply-templates select="/rss/channel/item" />
 | 
			
		||||
          <footer>
 | 
			
		||||
              <small><p>Made with ❤ by Mayx</p></small>
 | 
			
		||||
          </footer>
 | 
			
		||||
@ -92,4 +93,20 @@ https://nicolas-hoizey.com/feeds/all.xml
 | 
			
		||||
      <p><xsl:value-of select="atom:summary"/></p>
 | 
			
		||||
    </div>
 | 
			
		||||
  </xsl:template>
 | 
			
		||||
  <xsl:template match="/rss/channel/item">
 | 
			
		||||
    <div class="item">
 | 
			
		||||
      <h3>
 | 
			
		||||
        <a>
 | 
			
		||||
          <xsl:attribute name="href">
 | 
			
		||||
            <xsl:value-of select="link"/>
 | 
			
		||||
          </xsl:attribute>
 | 
			
		||||
          <xsl:value-of select="title"/>
 | 
			
		||||
        </a>
 | 
			
		||||
      </h3>
 | 
			
		||||
      <small class="gray">
 | 
			
		||||
        Published at <xsl:value-of select="pubDate" />
 | 
			
		||||
      </small>
 | 
			
		||||
      <p><xsl:value-of select="description"/></p>
 | 
			
		||||
    </div>
 | 
			
		||||
  </xsl:template>
 | 
			
		||||
</xsl:stylesheet>
 | 
			
		||||
		Reference in New Issue
	
	Block a user