feat: less js
This commit is contained in:
parent
9cbf04cc00
commit
ed32c9ac55
8 changed files with 101 additions and 111 deletions
|
@ -18,5 +18,3 @@ permalink: 404.html
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}
|
||||
|
|
|
@ -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,
|
||||
})
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 %}
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
Reference in a new issue