Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分页栏乱码,如何解决? How to solve my error in pagination display? #744

Closed
5 of 6 tasks
glennw97 opened this issue Mar 31, 2020 · 3 comments
Closed
5 of 6 tasks

Comments

@glennw97
Copy link

I certify that I have first consulted (check all with "x")

我确认我已经查看了 (使用 "x" 选择)


I'm submitting a (check one with "x")

我正在申请 (使用 "x" 选择)

  • bug report | 反馈一个 bug
  • feature request | 申请添加新的特性或功能
  • support request | 请求技术支持

1.我想解决博客底部分页栏显示乱码的问题。
2.我想知道如何自定义博客底部的社交按钮,比如加一个微信链接。
1.I want to konow how to solve my error in pagination display?
2. I want to know how to DIY a new social link icon at the bottom of my blog.

@widsnoy
Copy link

widsnoy commented Apr 4, 2020

将hexo降级到3.9.0试试,我也遇到了同样的问题,通过降级解决了。

@glennw97
Copy link
Author

glennw97 commented Apr 6, 2020

已解决,原因是从 Hexo 4 开始,这个分页功能(https://hexo.io/zh-cn/docs/helpers#paginator)会默认把 HTML 转义,要手动关掉 escape 才行。操作为: index.ejs, paginator类下 加入 escape: false。

@glennw97 glennw97 closed this as completed Apr 6, 2020
@widsnoy
Copy link

widsnoy commented Apr 7, 2020

已解决,原因是从 Hexo 4 开始,这个分页功能(https://hexo.io/zh-cn/docs/helpers#paginator)会默认把 HTML 转义,要手动关掉 escape 才行。操作为: index.ejs, paginator类下 加入 escape: false。

谢谢,能不能麻烦帮我看看这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants