Skip to content

Commit

Permalink
hide prev-next if it is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Jul 2, 2018
1 parent 6058d81 commit 62999f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/incl/navigation.tt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<% IF prev or next %>
<div class="prev-next">
<h2>
<% IF prev %>
Expand All @@ -11,4 +12,4 @@
</span>
<% END %></h2>
</div>

<% END %>

0 comments on commit 62999f2

Please sign in to comment.