From 710556dcd1a806a2bccdc3f61f03ba564b9b7451 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 5 Sep 2023 16:25:08 -0700 Subject: [PATCH] chore: deduplicate feed templates --- src/_includes/feed-alt.liquid | 84 ----------------------------------- src/_includes/feed.liquid | 16 ++----- src/assets/feed.md | 4 ++ src/assets/feeds/books.md | 7 --- src/assets/feeds/feed-alt.md | 4 -- src/assets/feeds/feed.md | 7 --- src/assets/feeds/follow.md | 7 --- src/assets/feeds/links.md | 7 --- 8 files changed, 7 insertions(+), 129 deletions(-) delete mode 100644 src/_includes/feed-alt.liquid create mode 100644 src/assets/feed.md delete mode 100644 src/assets/feeds/books.md delete mode 100644 src/assets/feeds/feed-alt.md delete mode 100644 src/assets/feeds/feed.md delete mode 100644 src/assets/feeds/follow.md delete mode 100644 src/assets/feeds/links.md diff --git a/src/_includes/feed-alt.liquid b/src/_includes/feed-alt.liquid deleted file mode 100644 index 6a2825f2..00000000 --- a/src/_includes/feed-alt.liquid +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - <xsl:value-of select="atom:feed/atom:title"/> - - - - - - - - -
-
- -
-
-

-
-
    - -
-
-
-
-

- This is a web feed, also - known as an RSS or Atom feed.

-

- Subscribe by copying the - URL from the address bar into your newsreader.

-
- Visit About Feeds to get started with - newsreaders and subscribing. It's free. -
-
-
- - -
- -
  • - - - - - - - - -
  • -
    -
    \ No newline at end of file diff --git a/src/_includes/feed.liquid b/src/_includes/feed.liquid index c74ec8a0..6a2825f2 100644 --- a/src/_includes/feed.liquid +++ b/src/_includes/feed.liquid @@ -13,9 +13,7 @@ - - {{ title }} - + <xsl:value-of select="atom:feed/atom:title"/>
    -

    - - {% tablericon icon title %} - - {{ title }}

    +

    -

    {{ description }}

    -

    - -

    +

      diff --git a/src/assets/feed.md b/src/assets/feed.md new file mode 100644 index 00000000..0d8e06b5 --- /dev/null +++ b/src/assets/feed.md @@ -0,0 +1,4 @@ +--- +layout: feed +permalink: /assets/feeds/template.xsl +--- \ No newline at end of file diff --git a/src/assets/feeds/books.md b/src/assets/feeds/books.md deleted file mode 100644 index d6f670cb..00000000 --- a/src/assets/feeds/books.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: feed -title: Books • Cory Dransfeldt -icon: books -description: Books I'm currently reading. -permalink: /assets/feeds/books.xsl ---- \ No newline at end of file diff --git a/src/assets/feeds/feed-alt.md b/src/assets/feeds/feed-alt.md deleted file mode 100644 index bc548f61..00000000 --- a/src/assets/feeds/feed-alt.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: feed-alt -permalink: /assets/feeds/feed-alt.xsl ---- \ No newline at end of file diff --git a/src/assets/feeds/feed.md b/src/assets/feeds/feed.md deleted file mode 100644 index 3712120c..00000000 --- a/src/assets/feeds/feed.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: feed -title: Cory Dransfeldt -icon: rss -description: Posts from my site. -permalink: /assets/feeds/feed.xsl ---- \ No newline at end of file diff --git a/src/assets/feeds/follow.md b/src/assets/feeds/follow.md deleted file mode 100644 index 5092bfcc..00000000 --- a/src/assets/feeds/follow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: feed -title: Follow • Cory Dransfeldt -icon: user-plus -description: My activity from around the web. -permalink: /assets/feeds/follow.xsl ---- \ No newline at end of file diff --git a/src/assets/feeds/links.md b/src/assets/feeds/links.md deleted file mode 100644 index e7dc6198..00000000 --- a/src/assets/feeds/links.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: feed -title: Links • Cory Dransfeldt -icon: link -description: Links I've liked. -permalink: /assets/feeds/links.xsl ---- \ No newline at end of file