From dae1b45d1f3bc805161606ca5815dac210358db7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 10 Jan 2023 01:50:37 +0900 Subject: new post: phperkaigi-2023-unused-token-quiz-3 --- templates/document__post.html.erb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'templates') 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 @@ <%= _content %> + <% if footnotes? %> +
+ <% for footnote in footnotes %> +
+ <%= footnote.index %>. <%= footnote.text %> +
+ <% end %> +
+ <% end %>