diff options
Diffstat (limited to 'themes/hexo-theme-freemind.bithack/layout/_partial/post/pagination.ejs')
m--------- | themes/hexo-theme-freemind.bithack | 0 | ||||
-rw-r--r-- | themes/hexo-theme-freemind.bithack/layout/_partial/post/pagination.ejs | 20 |
2 files changed, 20 insertions, 0 deletions
diff --git a/themes/hexo-theme-freemind.bithack b/themes/hexo-theme-freemind.bithack deleted file mode 160000 -Subproject db335ebdc14507c7687084da084a56eb3d003f1 diff --git a/themes/hexo-theme-freemind.bithack/layout/_partial/post/pagination.ejs b/themes/hexo-theme-freemind.bithack/layout/_partial/post/pagination.ejs new file mode 100644 index 0000000..9bde245 --- /dev/null +++ b/themes/hexo-theme-freemind.bithack/layout/_partial/post/pagination.ejs @@ -0,0 +1,20 @@ +<div class="pagination">
+
+ <% if (page.prev || page.next) { %>
+ <% if (page.prev){ %>
+ <a href="<%- config.root %><%- page.prev.path %>" type="button" class="btn btn-default"><i
+ class="fa fa-arrow-circle-o-left"></i> <%= __('prev') %></a>
+ <% } else { %>
+ <a type="button" class="btn btn-default disabled"><i class="fa fa-arrow-circle-o-left"></i><%= __('prev') %></a>
+ <% } %>
+
+ <a href="<%- config.root %>" type="button" class="btn btn-default"><i class="fa fa-home"></i>Home</a>
+ <% if (page.next){ %>
+ <a href="<%- config.root %><%- page.next.path %>" type="button" class="btn btn-default "><%= __('next') %><i
+ class="fa fa-arrow-circle-o-right"></i></a>
+ <% } else { %>
+ <a type="button" class="btn btn-default disabled"><%= __('next') %><i class="fa fa-arrow-circle-o-right"></i></a>
+ <% } %>
+
+ <% } %>
+</div>
|