Made an update to tags logic to account for different file prefixes for different projects that are using the same theme.

This commit is contained in:
Tom Johnson
2015-08-20 11:13:24 -07:00
parent d8ce926bc8
commit 57c5f3bee7
4 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ layout: default
{% include custom/conditions.html %}
{% for tag in page.tags %}
{% if projectTags contains tag %}
<a href="{{site.project}}_tag-{{tag}}.html"><button type="button" class="btn btn-primary navbar-btn cursorNorm">{{page.tagName}}{{tag}}</button></a>{% unless forloop.last %}{% endunless%}
<a href="{{site.project_file_name}}_tag-{{tag}}.html"><button type="button" class="btn btn-primary navbar-btn cursorNorm">{{page.tagName}}{{tag}}</button></a>{% unless forloop.last %}{% endunless%}
{% endif %}
{% endfor %}
{% endif %}