From 6ca5bdba41c67621d522f902cd54f5de6493544b Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt <coryd@hey.com> Date: Mon, 19 Feb 2024 11:24:20 -0800 Subject: [PATCH] chore: drop duplicate post link --- src/_includes/post.liquid | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/_includes/post.liquid b/src/_includes/post.liquid index c53d93cb..574f781e 100644 --- a/src/_includes/post.liquid +++ b/src/_includes/post.liquid @@ -4,7 +4,6 @@ schema: blog --- {% render "partials/header.liquid", meta: meta, page: page, nav: nav %} {%- capture postUrl %}{{ meta.url }}{{ page.url }}{% endcapture -%} -{%- assign shareLink = postUrl | findPost: linkPosts -%} {% capture css %} {% render "../assets/styles/plugins/prism.css" %} {% render "../assets/styles/pages/post.css" %} @@ -16,11 +15,6 @@ schema: blog <span class="p-author h-card hidden">{{ meta.author }}</span> <div class="flex--centered"> <time class="dt-published" datetime="{{ date }}">{{ date | readableDate }}</time> - {%- if shareLink %} - <a class="brand-mastodon icon--small icon--center__vertical" href="{{ shareLink }}"> - {% tablericon "brand-mastodon" "Mastodon post" %} - </a> - {% endif -%} </div> <div class="p-summary hidden">{{ post_excerpt }}</div> <div class="e-content">