{% comment %} prev and next {% endcomment %} {%- if page.url != "/search.html" and page.url != "/404.html" -%} {%- if next or prev -%}