hexo-them-landscape

hexo-theme-landscape 0.0.1 版本文章分页显示的bug

上一页和下一页的bug显示如下:

1
« __('prev') __('next') »

解决方法(layout/_partial/archive.ejs):

1
2
3
4
5
6
7
8
9
<nav id="page-nav">
<% var prev_text = "&laquo; " + __('prev');var next_text = __('next') + " &raquo;"%>
<%- paginator({
prev_text: "&laquo; "+__('prev'),
next_text: __('next')+" &raquo;"
prev_text: prev_text,
next_text: next_text
}) %>

</nav>

已向官方提交PR

粤ICP备18054847号-2
本站总访问量次 本站访客数人 本文总阅读量
{% if theme.baidu_push %} {% endif %}