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:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user