Fixed an issue in the configuration. The conditions.html file needs to specify different project names for the conditions. For some reason I had both writers and designers outputs with the same site.project name, which caused the conditional filtering feature not to work. This is fixed now.

This commit is contained in:
Tom Johnson
2015-09-08 13:14:30 -07:00
parent a36f29bc14
commit 729d03f2b6
9 changed files with 12697 additions and 12645 deletions

View File

@ -1,4 +1,4 @@
{% if site.project == "doc" %}
{% if site.project == "doc_writers" %}
{% assign audience = "writers" %}
{% assign sidebar = site.data.sidebar_doc.entries %}
{% assign topnav = site.data.topnav_doc.topnav %}
@ -8,10 +8,9 @@
{% assign platform = "php" %}
{% assign link = "custom/doc/links_doc.html" %}
{% assign projectTags = site.data.tags_doc.allowed-tags %}
{% assign searchGroup = "doc" %}
{% endif %}
{% if site.project == "doc" %}
{% if site.project == "doc_designers" %}
{% assign audience = "designers" %}
{% assign sidebar = site.data.sidebar_doc.entries %}
{% assign topnav = site.data.topnav_doc.topnav %}
@ -21,5 +20,4 @@
{% assign platform = "all" %}
{% assign link = "custom/doc/links_doc.html" %}
{% assign projectTags = site.data.tags_doc.allowed-tags %}
{% assign searchGroup = "doc" %}
{% endif %}