You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/_includes/get_relative_path_software....

7 lines
182 B

{% assign pp = page.path | split: '/' %}
{% if pp[1] == 'archived' %}
{% assign relative_path = 'software/archived' %}
{% else %}
{% assign relative_path = 'software' %}
{% endif %}