Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
Remove navigation chevron & fix empty <li>
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor S. Morozov committed Mar 19, 2018
1 parent 8c2f05e commit 56b69a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aglio-theme-planado",
"version": "3.2.0",
"version": "3.3.0",
"description": "Custom theme for the Aglio API Blueprint renderer",
"main": "lib/main.js",
"scripts": {
Expand Down
3 changes: 0 additions & 3 deletions templates/mixins.pug
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,13 @@ mixin Nav()
each resourceGroup in self.api.resourceGroups || []
.resource-group
.heading
.chevron
i.open.fa.fa-angle-down
a()!= resourceGroup.name || 'Resource Group'
.collapse-content
ul
each item in resourceGroup.navItems || []
li
a(href=item[1])!= item[0]
each resource in resourceGroup.resources || []
li
if !self.condenseNav || (resource.actions.length != 1)
each action in resource.actions || []
li: a(href=action.elementLink)
Expand Down

0 comments on commit 56b69a7

Please sign in to comment.