feat: less js

This commit is contained in:
Cory Dransfeldt 2023-08-25 11:04:55 -07:00
parent 9cbf04cc00
commit ed32c9ac55
No known key found for this signature in database
8 changed files with 101 additions and 111 deletions

View file

@ -18,5 +18,3 @@ permalink: 404.html
</a>
</div>
</div>
<hr />
{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}

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_campaign=syndication&utm_source=follow`
: entry.url,
url: entry.url.includes('coryd.dev') ? `${entry.url}` : entry.url,
content_html: entry.content || '',
date_published: entry.published,
})

View file

@ -55,10 +55,6 @@
<script type="application/ld+json">
{% jsonLd meta, type, tags %}
</script>
<script
src="https://cdn.usefathom.com/script.js"
data-site="RBCOWZTA"
defer></script>
<noscript>
<style>
.client-side {

View file

@ -13,5 +13,4 @@ layout: main
</article>
{% render "partials/post-tags.liquid", tags: tags %}
{% render "partials/webmentions/container.liquid", webmentions: webmentions, page: page %}
{% render "partials/author.liquid", site: site %}
{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}
{% render "partials/author.liquid", site: site %}

View file

@ -11,7 +11,7 @@ permalink: /feed.xml
{% assign posts = collections.posts | reverse %}
{% for post in posts limit: 15 %}
{% capture entry_link %}
{{ site.url }}{{ post.url }}?utm_campaign=syndication&utm_source=rss
{{ site.url }}{{ post.url }}
{% endcapture %}
<entry>
<title>{{ post.data.title }}</title>

View file

@ -35,5 +35,4 @@ meta:
}
</style>
<div id="search" class="search"></div>
<script src="https://coryd.dev/_pagefind/pagefind-ui.js" onload="new PagefindUI({ element: '#search', showImages: false });"></script>
{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}
<script src="https://coryd.dev/_pagefind/pagefind-ui.js" onload="new PagefindUI({ element: '#search', showImages: false });"></script>