chore: clean up unnecessary deps

This commit is contained in:
Cory Dransfeldt 2024-01-15 18:05:27 -08:00
parent 4667d45373
commit 35cd260ce5
No known key found for this signature in database
18 changed files with 15 additions and 69 deletions

View file

@ -3,9 +3,7 @@
{% capture css %}
{% render "../../assets/styles/widgets/banner-old-post.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<style>{{ css }}</style>
<div class="banner__old-post">
<p>{% tablericon "clock-x" "Old post" %} This post is over 3 years old. I've probably changed my mind since it was written and it <em>could</em> be out of date.</p>
</div>

View file

@ -4,9 +4,7 @@
{% render "../../../assets/styles/widgets/media-grid.css" %}
{% render "../../../assets/styles/widgets/progress-bar.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<style>{{ css }}</style>
{% endif %}
{% assign media = data | normalizeMedia %}
<h2 class="now__section--header flex--centered">

View file

@ -1,9 +1,7 @@
{% capture css %}
{% render "../../assets/styles/widgets/paginator.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<style>{{ css }}</style>
<nav aria-label="Blog pagination" class="pagination flex--centered">
{% if pagination.href.previous %}
<a href="{{ pagination.href.previous }}">

View file

@ -1,9 +1,7 @@
{% capture css %}
{% render "../../assets/styles/widgets/popular-posts.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<style>{{ css }}</style>
{% assign posts = posts | getPopularPosts: analytics %}
<div class="popular-posts">
<h2 class="flex--centered">

View file

@ -1,9 +1,7 @@
{% capture css %}
{% render "../../assets/styles/widgets/post-graph.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<style>{{ css }}</style>
<div class="post-graph">
{% assign years = postYears | reverse %}
{%- for year in years %}

View file

@ -3,9 +3,7 @@
{% capture css %}
{% render "../../../assets/styles/widgets/webmentions.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<style>{{ css }}</style>
<div class="webmentions">
{% render "partials/webmentions/interaction.liquid", mentions: mentions, type: 'repost-of' %}
{% render "partials/webmentions/interaction.liquid", mentions: mentions, type: 'like-of' %}