# Recent Comments# 前置要求:需配置最近评论页面和评论,否则显示为空# Pre-requirements: recent comments page needs to be configured and commented, otherwise it will be displayed as emptyrecent_comments: enable: true # 评论数 # Number of comments limit: 50 # ⚠️ Waline only supports a maximum of 50 comments # 缓存时间 # Cache time cache: 0.2 # Unit: day page: /recentcomments/ # recent comments page img: /img/recent_c.avif # image displayed in the console (leave empty to hide)
Recent Comments ^1.12.3
Enter the following command in the terminal, it will generate a
recentcomments
folder under thesource
folder, which contains theindex.md
file.Replace the content in
index.md
with the following:Modify the configuration file