diff --git a/templates/thread/by_id.html.ep b/templates/thread/by_id.html.ep index ba7b312..1b2ffb7 100644 --- a/templates/thread/by_id.html.ep +++ b/templates/thread/by_id.html.ep @@ -53,10 +53,10 @@ <% } =%> + + <% if ($last_page && $last_page != 1) { =%> + <%= pagination $this_page, $last_page, ($base_path . '/{page}') %> + <% } =%> + - - <% if ($last_page && $last_page != 1) { =%> - <%= pagination $this_page, $last_page, ($base_path . '/{page}') %> - <% } =%> - <% } =%>