From 833fcb15ad09922e080044488c717d4b9065e00d Mon Sep 17 00:00:00 2001 From: mayx Date: Wed, 25 Jun 2025 05:43:23 +0000 Subject: [PATCH] Update 4 files - /_layouts/xslt_container.html - /_layouts/default.html - /_layouts/xslt.html - /feed.xslt.xml --- _layouts/default.html | 13 ++-- _layouts/xslt.html | 7 +++ _layouts/xslt_container.html | 53 ++++++++++++++++ feed.xslt.xml | 116 +++-------------------------------- 4 files changed, 74 insertions(+), 115 deletions(-) create mode 100644 _layouts/xslt.html create mode 100644 _layouts/xslt_container.html diff --git a/_layouts/default.html b/_layouts/default.html index 0b7245a..faf3f86 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,5 +1,6 @@ - - +--- +layout: xslt_container +--- @@ -34,7 +35,7 @@ {% if site.google_analytics %} - + - - - \ No newline at end of file + \ No newline at end of file diff --git a/_layouts/xslt.html b/_layouts/xslt.html new file mode 100644 index 0000000..2bbadd6 --- /dev/null +++ b/_layouts/xslt.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +{{ content }} + + \ No newline at end of file diff --git a/_layouts/xslt_container.html b/_layouts/xslt_container.html new file mode 100644 index 0000000..15acba4 --- /dev/null +++ b/_layouts/xslt_container.html @@ -0,0 +1,53 @@ +{% if page.layout == "xslt" %} + + + + + + {{ content }} + + + +
+

+ + + + + + +

+ + Published at + +

+
+
+
+ +
+

+ + + + + + +

+ + Published at + +

+
+
+
+
+{% else %} + + + {{ content }} + +{% endif %} \ No newline at end of file diff --git a/feed.xslt.xml b/feed.xslt.xml index 94bde65..203524c 100644 --- a/feed.xslt.xml +++ b/feed.xslt.xml @@ -1,109 +1,9 @@ - - - - - - - - - - - Web Feed | - <xsl:value-of select="/atom:feed/atom:title"/><xsl:value-of select="/rss/channel/title"/> - - - - - -
-
-

- - - - - - - - - - - - - - - - - Web Feed Preview -

-

-

-

This preview only shows titles and summaries, but the actual feed contains the full content.

- - Visit Website → - -
-

Recent Items

- - -
-

Made with ❤ by Mayx

-
-
- - -
- -
-

- - - - - - -

- - Published at - -

-
-
- -
-

- - - - - - -

- - Published at - -

-
-
-
\ No newline at end of file +

订阅预览

+

这是一个订阅源(Feed)。 复制这个链接到任何支持 Atom/RSS 的阅读器,即可订阅本博客的最新文章。 +

+以下为其内容预览:

\ No newline at end of file