26 lines
530 B
Plaintext
26 lines
530 B
Plaintext
<% unless notes['self'].empty? -%>
|
|
|
|
<h2>Self references</h2>
|
|
|
|
<ol>
|
|
<% notes['self'].each do |note| -%>
|
|
<li id="<%= note['anchor'] %>" value="<%= note['index'] %>">
|
|
<a href="<%= note['id'] %>.html"><%= note['text'] %></a>
|
|
</li>
|
|
<% end -%>
|
|
</ol>
|
|
<% end -%>
|
|
<%# -%>
|
|
<% unless notes['link'].empty? -%>
|
|
|
|
<h2>Link references</h2>
|
|
|
|
<ol>
|
|
<% notes['link'].each do |note| -%>
|
|
<li id="<%= note['anchor'] %>" value="<%= note['index'] %>">
|
|
<a href="<%= note['url'] %>"><%= note['text'] %></a>
|
|
</li>
|
|
<% end -%>
|
|
</ol>
|
|
<% end -%>
|