chore: links + grammar

This commit is contained in:
Cory Dransfeldt 2023-08-23 15:48:44 -07:00
parent 88aae3f2e3
commit 8e93412d7a
No known key found for this signature in database
8 changed files with 31 additions and 33 deletions

View file

@ -1,3 +1,3 @@
{ {
"timestamp": 1692720189860 "timestamp": 1692907388701
} }

View file

@ -5885,5 +5885,16 @@
"https://social.lol/users/cory/statuses/110934110358697654" "https://social.lol/users/cory/statuses/110934110358697654"
], ],
"lastTootTimestamp": 1692720189854 "lastTootTimestamp": 1692720189854
},
"https://letterboxd.com/cdme/film/along-came-a-spider/": {
"id": "https://letterboxd.com/cdme/film/along-came-a-spider/",
"title": "🎥: Along Came a Spider, 2001 - ★★",
"url": "https://letterboxd.com/cdme/film/along-came-a-spider/",
"content_text": "🎥: Along Came a Spider, 2001 - ★★ https://letterboxd.com/cdme/film/along-came-a-spider/",
"date_published": "2023-08-24T19:42:06-08:00",
"toots": [
"https://social.lol/users/cory/statuses/110946378622156067"
],
"lastTootTimestamp": 1692907388697
} }
} }

View file

@ -1,24 +0,0 @@
const fs = require('fs')
const fetch = require('node-fetch')
module.exports = async function () {
const sourceUrl = 'https://cdn.usefathom.com/script.js'
fetch(sourceUrl)
.then((response) => response.text())
.then((sourceContent) => {
if (!sourceContent.includes('fathomScript.src.indexOf("cdn.usefathom.com")'))
throw new Error('Fathom script changed!')
const modifiedContent = sourceContent.replace(
'fathomScript.src.indexOf("cdn.usefathom.com")',
'fathomScript.src.indexOf("coryd.dev")'
)
const newFilePath = './_site/script.js'
fs.writeFile(newFilePath, modifiedContent, (err) => {
if (err) console.log(err)
})
})
.catch((err) => {
console.error('Error downloading the file:', err)
})
}

View file

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

View file

@ -56,7 +56,7 @@
{% jsonLd meta, type, tags %} {% jsonLd meta, type, tags %}
</script> </script>
<script <script
src="{{ site.url }}/script.js?v={% version %}" src="https://cdn.usefathom.com/script.js"
data-site="RBCOWZTA" data-site="RBCOWZTA"
defer></script> defer></script>
<noscript> <noscript>

View file

@ -5,10 +5,15 @@
</a> </a>
</h2> </h2>
<div class="dark:text-white text-gray-800"> <div class="dark:text-white text-gray-800">
<p>I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.</p> <p>I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation,
<a href="https://www.last.fm/user/cdrn_" rel="noopener noreferrer">music</a>, writing,
<a href="https://www.goodreads.com/user/show/168570560-cory-dransfeldt" rel="noopener noreferrer">reading</a>,
<a href="https://trakt.tv/users/cdransf" rel="noopener noreferrer">tv</a>
and
<a href="https://letterboxd.com/cdme" rel="noopener noreferrer">movies</a>.</p>
<p class="mb-0 flex flex-row items-start md:items-center"> <p class="mb-0 flex flex-row items-start md:items-center">
<span class="pt-1 md:pt-0 mr-1">{{ status.emoji }}</span> <span class="pt-1 md:pt-0 mr-1">{{ status.emoji }}</span>
<span>{{ status.content }}</span> <span>{{ status.content }}</span>
</p> </p>
</div> </div>
</div> </div>

View file

@ -25,7 +25,7 @@ meta:
</div> </div>
<h1 class="text-xxl font-black -leading-tight tracking-normal dark:text-gray-200 md:text-3xl text-center">Hi, I'm Cory</h1> <h1 class="text-xxl font-black -leading-tight tracking-normal dark:text-gray-200 md:text-3xl text-center">Hi, I'm Cory</h1>
I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, <a href="https://www.last.fm/user/cdrn_" rel="noopener noreferrer">music</a>, writing, <a href="/now" rel="noopener noreferrer">reading</a> and <a href="https://trakt.tv/users/cdransf" rel="noopener noreferrer">tv</a> and <a href="https://letterboxd.com/cdme" rel="noopener noreferrer">movies</a>. I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, <a href="https://www.last.fm/user/cdrn_" rel="noopener noreferrer">music</a>, writing, <a href="https://www.goodreads.com/user/show/168570560-cory-dransfeldt" rel="noopener noreferrer">reading</a> and <a href="https://trakt.tv/users/cdransf" rel="noopener noreferrer">tv</a> and <a href="https://letterboxd.com/cdme" rel="noopener noreferrer">movies</a>.
I build, maintain and design web applications. I've been coding professionally since 2010 with a focus on frontend technologies. I build, maintain and design web applications. I've been coding professionally since 2010 with a focus on frontend technologies.

View file

@ -5,13 +5,17 @@ permalink: /feed.xml
{% layout "./_includes/feeds/feed.liquid" %} {% layout "./_includes/feeds/feed.liquid" %}
{% block title %}All posts • Cory Dransfeldt{% endblock %} {% block title %}All posts • Cory Dransfeldt{% endblock %}
{% block self %}feed.xml{% endblock %} {% block self %}feed.xml{% endblock %}
{% block update %}{{ collections.posts[0].date | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %} {% block update %}
{{ collections.posts[0].date | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}
{% block entries %} {% block entries %}
{% assign posts = collections.posts | reverse %} {% assign posts = collections.posts | reverse %}
{% for post in posts limit: 15 %} {% for post in posts limit: 15 %}
{% capture entry_link %}
{{ site.url }}{{ post.url }}?utm_campaign=syndication&utm_source=rss
{% endcapture %}
<entry> <entry>
<title>{{ post.data.title }}</title> <title>{{ post.data.title }}</title>
<link href="{{ site.url }}{{ post.url }}" /> <link href="{{ entry_link | encodeAmp }}" />
<updated>{{ post.date | date: "%m.%d.%Y" }}</updated> <updated>{{ post.date | date: "%m.%d.%Y" }}</updated>
<id>{{ site.url }}{{ post.url }}</id> <id>{{ site.url }}{{ post.url }}</id>
<content type="html"> <content type="html">
@ -19,4 +23,4 @@ permalink: /feed.xml
</content> </content>
</entry> </entry>
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}