docs: rename article slug
This commit is contained in:
29
themes/uio/layout/_partial/paginator.ejs
Executable file
29
themes/uio/layout/_partial/paginator.ejs
Executable file
@@ -0,0 +1,29 @@
|
||||
<% if (page.prev || page.next) { %>
|
||||
<nav class="page-nav">
|
||||
<% if (page.prev) { %>
|
||||
<a class="page-prev" href="<%- url_for(page.prev_link) %>">
|
||||
<
|
||||
<!-- <span>
|
||||
<% if (page.prev.title) { %>
|
||||
<%= page.prev.title %>
|
||||
<% } else { %>
|
||||
(no title)
|
||||
<% } %>
|
||||
</span> -->
|
||||
</a>
|
||||
<% } %>
|
||||
<div class="page-number date"><%= page.current %> / <%= Math.ceil(site.posts.length / config.per_page) %></div>
|
||||
<% if (page.next) { %>
|
||||
<a class="page-next" href="<%- url_for(page.next_link) %>">
|
||||
>
|
||||
<!-- <span>
|
||||
<% if (page.next.title) { %>
|
||||
<%= page.next.title %>
|
||||
<% } else { %>
|
||||
(no title)
|
||||
<% } %>
|
||||
</span> -->
|
||||
</a>
|
||||
<% } %>
|
||||
</nav>
|
||||
<% } %>
|
Reference in New Issue
Block a user