{%- capture url -%}{{ '/' | relative_url }}{{ include.category | slugify: 'pretty' }}{%- endcapture -%} {%- assign label = include.category | downcase -%} {%- if include.link -%} {{ label }} {%- else -%} {{ label }} {%- endif -%}