feat: speed up builds; minimize things a bit

This commit is contained in:
Cory Dransfeldt 2024-06-03 17:11:18 -07:00
parent 67017151d1
commit f057962309
No known key found for this signature in database
13 changed files with 17 additions and 164 deletions

View file

@ -1,24 +0,0 @@
{%- assign shareLink = postUrl | findPost:linkPosts -%}
{%- if shareLink %}
<script type="module" src="/assets/scripts/components/mastodon-post.js"></script>
<template id="mastodon-post-template">
<div class="mastodon-post-wrapper">
<blockquote data-key="content"></blockquote>
<dl>
<dt>{% tablericon "refresh" "Reposts" %}</dt>
<dd data-key="reblogs_count"></dd>
<dt>{% tablericon "message-circle" "Replies" %}</dt>
<dd data-key="replies_count"></dd>
<dt>{% tablericon "star" "Favorites" %}</dt>
<dd data-key="favourites_count"></dd>
</dl>
</div>
</template>
<span class="client-side">
<mastodon-post>
<a href="{{ shareLink }}">
Discuss on Mastodon
</a>
</mastodon-post>
</span>
{% endif -%}