We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
为每篇文章末尾统一添加如下样式:
没有“本文结束”标记
Add the ✔ sign before an item which is affected by this behavior.
NexT Version:
NexT Scheme:
效果如下图所示:
The text was updated successfully, but these errors were encountered:
自己摸索出来了解决办法,遂自问自答了。 找到themes/next/layout/_macro/post.swig,添加如下代码:
themes/next/layout/_macro/post.swig
<div> {% if not is_index %} <div style="text-align:center;color: #ccc;font-size:14px;">------ 本文结束 ------</div> {% endif %} </div>
代码添加位置如图:
Sorry, something went wrong.
建议直接修改home/scaffolds/post.md模板文件
home/scaffolds/post.md
No branches or pull requests
Expected behavior (预期行为)
为每篇文章末尾统一添加如下样式:
Actual behavior (实际行为)
没有“本文结束”标记
Steps to reproduce the behavior (重现步骤)
NexT Informations
Add the ✔ sign before an item which is affected by this behavior.
NexT Version:
NexT Scheme:
Other Informations (Like Browser, System, Screenshots)
效果如下图所示:
The text was updated successfully, but these errors were encountered: