首页文章不收缩
BytePrince opened this issue · comments
BytePrince commented
博客首页文章默认都是展开的,如何设置成文章列表?
chinaddse commented
在index.php文件找到代码 content('阅读剩余部分...'); ?>
将其替换为 excerpt(); ?>
如果要按制摘要的输出字数200字,可以修改代码为 excerpt(200, '...'); ?>
NexT.Pisces主题的Typecho移植版
BytePrince opened this issue · comments
博客首页文章默认都是展开的,如何设置成文章列表?
在index.php文件找到代码 content('阅读剩余部分...'); ?>
将其替换为 excerpt(); ?>
如果要按制摘要的输出字数200字,可以修改代码为 excerpt(200, '...'); ?>