feat: bye analytics

This commit is contained in:
Cory Dransfeldt 2024-08-10 18:54:06 -07:00
parent 94d58d0f0c
commit 2bf2fba325
No known key found for this signature in database
20 changed files with 14 additions and 185 deletions

View file

@ -107,8 +107,7 @@
<link rel="alternate" href="https://coryd.dev/feeds/movies" title="Movies / {{ globals.site_name }}'s movies feed" type="application/rss+xml">
<link rel="alternate" href="https://coryd.dev/feeds/books" title="Books / {{ globals.site_name }}" type="application/rss+xml">
<link rel="alternate" href="https://coryd.dev/feeds/all" title="All activity / {{ globals.site_name }}" type="application/rss+xml">
<script defer data-domain="coryd.dev" src="/js/script.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
<script defer src="/assets/scripts/index.js?v={% appVersion %}"></script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
@ -154,6 +153,5 @@
})()
</script>
{{ content }}
<script src="/assets/scripts/index.js?v={% appVersion %}" defer></script>
</body>
</html>

View file

@ -1,8 +0,0 @@
<div class="addon-links">
{%- if popularPosts.size > 0 -%}
<div>{% render "partials/blocks/popular-posts.liquid", popularPosts:popularPosts %}</div>
{%- endif -%}
{%- if links.size > 0 -%}
<div>{% render "partials/blocks/recent-links.liquid", links:links %}</div>
{%- endif -%}
</div>

View file

@ -13,7 +13,5 @@
{{ block.text | markdown }}
{%- elsif block.type == 'divider' -%}
{{ block.markup | markdown }}
{%- elsif block.type == 'addon_links' -%}
{% render "partials/blocks/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
{%- endif -%}
{%- endfor -%}

View file

@ -1,15 +0,0 @@
{%- if popularPosts.size > 0 -%}
<h3 class="flex-centered">
{% tablericon "flame" "Popular" %}
Popular posts
</h3>
<ul class="link-list">
{%- for post in popularPosts limit: 5 -%}
<li>
<a class="no-underline" href="{{ post.slug }}" title="{{ post.title | escape}}">
{{ post.title }}
</a>
</li>
{%- endfor -%}
</ul>
{%- endif -%}

View file

@ -1,16 +0,0 @@
{%- if links.size > 0 -%}
<h3 id="links" class="flex-centered">
{% tablericon "link" "Links" %}
Recent links
</h3>
<ul class="link-list">
{%- for link in links limit: 5 -%}
<li>
<a href="{{ link.link }}" title="{{ link.title | escape }}">
{{ link.title }}
</a>
{% if link.authors %} via <a href="{{ link.authors.url }}">{{ link.authors.name }}</a>{% endif %}
</li>
{%- endfor -%}
</ul>
{%- endif -%}