{%- if collections.posts %} {%- set previousPost = collections.posts | getPreviousCollectionItem %} {%- set nextPost = collections.posts | getNextCollectionItem %} {%- if nextPost or previousPost %} {% endif %}

Questions? Comments? contact me.

{%- endif %} {%- endif %}