Skip to content

Commit 67e03ea

Browse files
committed
epub: fix navigation layout
1 parent b4ac831 commit 67e03ea

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

lib/ex_doc/formatter/epub/templates/nav_template.eex

+9-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
<%= nav_grouped_item_template config.extras %>
66

77
<%= unless Enum.empty?(nodes.modules) do %>
8-
<ol>
9-
<li><span>Modules</span>
10-
<ol>
11-
<%= nav_grouped_item_template nodes.modules %>
12-
</ol>
13-
</li>
14-
</ol>
8+
<li>
9+
<ol>
10+
<li><span>Modules</span>
11+
<ol>
12+
<%= nav_grouped_item_template nodes.modules %>
13+
</ol>
14+
</li>
15+
</ol>
16+
</li>
1517
<% end %>
1618
<%= nav_item_template "Mix Tasks", nodes.tasks %>
1719
</ol>

0 commit comments

Comments
 (0)