{{ site.data.locales[include.lang].post.share }} {% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %} {% assign title = title | uri_escape %} {% assign url = page.url | absolute_url | url_encode %} {% for share in site.data.share.platforms -%} {% if share.type == 'Mastodon' %} {% continue %} {% endif %} {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %} {% endfor %}