chore: data cleanup
This commit is contained in:
parent
82192cc720
commit
3429fb62f0
4 changed files with 605 additions and 1817 deletions
|
@ -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,
|
||||
})
|
||||
|
|
|
@ -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">
|
||||
|
|
Reference in a new issue