{% assign page_title = '' %} {% if page.title == "Home" %} {% capture page_title %} {{ site.title }} | {{ site.description }} {%if paginator and paginator.page != 1 %} - {{ paginator.page }}{% endif %} {% endcapture %} {% else %} {% capture page_title %} {%if page.slug == 'category' %}Category: {% endif %} {%if page.slug == 'tag' %}Tag: {% endif %} {{ page.title }} | {{ site.title }} {% endcapture %} {% endif %} {% capture page_title %} {{ page_title | strip | rstrip | lstrip | escape | strip_newlines }} {% endcapture %} {{ page_title }} {% assign page_description = '' %} {% capture page_description %} {% if page.description %} {{ page.description | strip_html | strip | rstrip | strip_newlines | truncate: 160 }} {% else %} {{ site.description }} {% endif %} {%if paginator and paginator.page != 1 %} - {{ paginator.page }} {% endif %} {%if page.slug == 'category' %} Category: {{ page.title }}{% endif %} {%if page.slug == 'tag' %} Tag: {{ page.title }}{% endif %} {% endcapture %} {% capture page_description %} {{ page_description | strip | rstrip | lstrip | escape | strip_newlines }} {% endcapture %} {% assign page_image = '' %} {% capture page_image %} {% if page.cover %} {{ page.cover | prepend: site.baseurl | prepend: site.url }} {% else %} {{ site.cover | prepend: site.baseurl | prepend: site.url }} {% endif %} {% endcapture %} {% capture page_image %}{{ page_image | strip | rstrip | lstrip | escape | strip_newlines }}{% endcapture %} {% if page.id %} {% else%} {% endif %} {% if paginator.previous_page %} {% endif %} {% if paginator.next_page %} {% endif %}