{%- assign shareLink = postUrl | findPost: linkPosts -%} {%- if shareLink %} Discuss on Mastodon {% endif -%}