From ce3e7f028b4e33555abb5826318475e6a8d29365 Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Mon, 22 Mar 2021 21:28:53 -0300 Subject: Ditch jekyll-feed plugin Replace the jekyll-feed plugin with a custom feed.xml obtained from https://github.com/rosario/kasper --- Gemfile | 1 - _config.yml | 4 ---- feed.xml | 30 ++++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 feed.xml diff --git a/Gemfile b/Gemfile index 87510f5..f5e7d15 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,3 @@ source "https://rubygems.org" gem "jekyll" -gem 'jekyll-feed' diff --git a/_config.yml b/_config.yml index c5a4f1f..917e223 100644 --- a/_config.yml +++ b/_config.yml @@ -3,9 +3,5 @@ author: ~santisoler baseurl: /~santisoler -plugins: - # Use jekyll-feed for compiling RSS - - jekyll-feed - # If you want to show posts excerpt on the home page set this to true show-excerpt: true diff --git a/feed.xml b/feed.xml new file mode 100644 index 0000000..a6628bd --- /dev/null +++ b/feed.xml @@ -0,0 +1,30 @@ +--- +layout: null +--- + + + + {{ site.title | xml_escape }} + {{ site.description | xml_escape }} + {{ site.url }}{{ site.baseurl }}/ + + {{ site.time | date_to_rfc822 }} + {{ site.time | date_to_rfc822 }} + Jekyll v{{ jekyll.version }} + {% for post in site.posts limit:10 %} + + {{ post.title | xml_escape }} + {{ post.content | xml_escape }} + {{ post.date | date_to_rfc822 }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} + {% for tag in post.tags %} + {{ tag | xml_escape }} + {% endfor %} + {% for cat in post.categories %} + {{ cat | xml_escape }} + {% endfor %} + + {% endfor %} + + -- cgit v1.2.3