chore: data cleanup

This commit is contained in:
Cory Dransfeldt 2023-08-29 04:34:52 -07:00
parent 82192cc720
commit 3429fb62f0
No known key found for this signature in database
4 changed files with 605 additions and 1817 deletions

View file

@ -12,9 +12,7 @@ module.exports = async function () {
activity.posts.push({
id: entry.url,
title: entry.title,
url: entry.url.includes('coryd.dev')
? `${entry.url}?utm_source=follow_feed&utm_medium=social&utm_campaign=syndication`
: entry.url,
url: entry.url,
content_html: entry.content || '',
date_published: entry.published,
})

View file

@ -10,12 +10,9 @@ permalink: /feed.xml
{% block entries %}
{% assign posts = collections.posts | reverse %}
{% for post in posts limit: 15 %}
{% capture entry_link %}
{{ site.url }}{{ post.url }}?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
{% endcapture %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ entry_link | encodeAmp }}" />
<link href="{{ site.url }}{{ post.url }}" />
<updated>{{ post.date | date: "%m.%d.%Y" }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<content type="html">