{{ site.data.locales[site.lang].post.share | default: 'Share' }} {% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %} {% assign url = page.url | absolute_url %} {% for share in site.data.share.platforms %} {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %} {% endfor %}