Skip to content

Commit

Permalink
feat: Show nav link Docs for one-software OP sites
Browse files Browse the repository at this point in the history
#33 WIP
  • Loading branch information
strogonoff committed Mar 16, 2019
1 parent 80776a4 commit 1b4cab0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions _includes/nav-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@

{% else %}

{% if site.num_all_software > 0 %}
{% include nav-page-link.html url="/software/" title="Software ecosystem" active_for_nested=true %}
{% if site.one_software %}
{% include nav-page-link.html url=site.one_software.url title="Docs" active_for_nested=true %}
{% else %}
{% if site.num_all_software > 0 %}
{% include nav-page-link.html url="/software/" title="Software ecosystem" active_for_nested=true %}
{% endif %}
{% endif %}

{% if site.num_all_specs > 0 %}
{% include nav-page-link.html url="/specs/" title="Specifications" active_for_nested=true %}
{% endif %}
Expand Down

0 comments on commit 1b4cab0

Please sign in to comment.