File tree 2 files changed +9
-11
lines changed
2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 95
95
</div>
96
96
<div id='split-right' class='relative overflow-auto height-viewport-100'>
97
97
<% docs.forEach(function(s) { %>
98
- <% if (s.kind === 'note') { %>
98
+ <% if (s.kind === 'note' && !s.children ) { %>
99
99
<div class='keyline-top-not py2'><%=renderNote({ note: s })%></div>
100
100
<% } else { %>
101
101
<%= renderSection({
Original file line number Diff line number Diff line change 1
- <% if (!note.children) { %>
2
- <section class='py2 clearfix'>
1
+ <section class='py2 clearfix'>
3
2
4
- <h2 id='<%- slug(note.namespace) %>' class='mt0'>
5
- <%- note.name %>
6
- </h2>
3
+ <h2 id='<%- slug(note.namespace) %>' class='mt0'>
4
+ <%- note.name %>
5
+ </h2>
7
6
8
- <% if (note.description) { %>
9
- <%= md(note.description) %>
10
- <% } %>
11
- </section>
12
- <% } %>
7
+ <% if (note.description) { %>
8
+ <%= md(note.description) %>
9
+ <% } %>
10
+ </section>
You can’t perform that action at this time.
0 commit comments