aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/document__post.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/document__post.html.erb')
-rw-r--r--templates/document__post.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/document__post.html.erb b/templates/document__post.html.erb
index a52ac9a..a48a5f4 100644
--- a/templates/document__post.html.erb
+++ b/templates/document__post.html.erb
@@ -59,6 +59,15 @@
</section>
<%= _content %>
</div>
+ <% if footnotes? %>
+ <div id="footnotes">
+ <% for footnote in footnotes %>
+ <div class="footnote" id="_footnotedef_<%= footnote.index %>">
+ <a href="#_footnoteref_<%= footnote.index %>"><%= footnote.index %></a>. <%= footnote.text %>
+ </div>
+ <% end %>
+ </div>
+ <% end %>
</article>
</main>
<footer class="footer">