{% capture text %}{% if include.page.share.text.size > 0 %}{{page.share.text}}{% elsif include.page.summary.size > 1 %}{{ include.page.summary }}{% elsif include.page.description.size > 1 %}{{ include.page.description | strip_html | truncate_words: 25 }}{% endif %}{% endcapture %} {% capture url %}{% unless include.page.url contains "://" %}{{ site.url }}{{ include.page.url | relative_url}}{% else %}{{ include.page.url }}{% endunless %}{% endcapture %} {% capture title %}{{ include.page.title }}{% endcapture %} {% capture whatsapp %}{% if include.page.share.whatsapp.size > 0 %}{{ include.page.share.whatsapp }}{% else %}*{{ title }}* {% if text.size > 1 %}{{ text }} {% endif %}{{ url }}{% endif %}{% endcapture %}