From e0eb06735e90c21a4e6a32a25e496f9dc6f73584 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Wed, 25 Jun 2025 15:01:15 -0400 Subject: [PATCH 1/2] Update feed.json.liquid Signed-off-by: Justin Kenyon --- feed.json.liquid | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/feed.json.liquid b/feed.json.liquid index 1c9146103e05..f67186b4abe5 100644 --- a/feed.json.liquid +++ b/feed.json.liquid @@ -26,7 +26,8 @@ permalink: feed.json {% else %} "{{ site.url }}{{ collection.id | remove_first: "/index" }}/{{ collection.image }}", {% endif %} - "content": {{ collection.content | jsonify }} + "content_markdown": {{ collection.rendered_content | jsonify }}, + "content_html": {{ collection.content | jsonify }} }{% unless forloop.last == true %},{% endunless %} {% endfor %} ], @@ -58,7 +59,8 @@ permalink: feed.json "{{ alias }}"{% unless forloop.last == true %},{% endunless %} {% endfor %} ], - "content": {{ topic.content | jsonify }} + "content_markdown": {{ topic.rendered_content | jsonify }}, + "content_html": {{ topic.content | jsonify }} }{% unless forloop.last == true %},{% endunless %} {% endfor %} ] From 25753d1e2ae37ad705f1ef066ad9ad21fd11b07f Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Wed, 25 Jun 2025 17:19:12 -0400 Subject: [PATCH 2/2] Update feed.json.liquid Signed-off-by: Justin Kenyon --- feed.json.liquid | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/feed.json.liquid b/feed.json.liquid index f67186b4abe5..036851a4c51c 100644 --- a/feed.json.liquid +++ b/feed.json.liquid @@ -26,8 +26,7 @@ permalink: feed.json {% else %} "{{ site.url }}{{ collection.id | remove_first: "/index" }}/{{ collection.image }}", {% endif %} - "content_markdown": {{ collection.rendered_content | jsonify }}, - "content_html": {{ collection.content | jsonify }} + "content": {{ collection.content | jsonify }} }{% unless forloop.last == true %},{% endunless %} {% endfor %} ], @@ -43,7 +42,7 @@ permalink: feed.json "logo": {% if topic.logo == null %} null, {% else %} - "{{ site.url }}{{ topic.id | remove_first: "/index" }}/{{ topic.logo }}", + "https://github.com/github/explore/blob/main{{ topic.id | remove_first: "/index" }}/{{ topic.logo }}?raw=true", {% endif %} "released": {{ topic.released | jsonify }}, "short_description": {{ topic.short_description | jsonify }}, @@ -59,8 +58,7 @@ permalink: feed.json "{{ alias }}"{% unless forloop.last == true %},{% endunless %} {% endfor %} ], - "content_markdown": {{ topic.rendered_content | jsonify }}, - "content_html": {{ topic.content | jsonify }} + "content": {{ topic.content | jsonify }} }{% unless forloop.last == true %},{% endunless %} {% endfor %} ]