Skip to content

Conversation

iwts
Copy link

@iwts iwts commented May 19, 2024

archive页面有基于tag进行筛选的功能,这个js的生效取决于页面的title=Archive
title是用户自定义的,随时会进行修改,修改后就会导致tag筛选相关的js代码失效,采用这种自定义值作为一个feature的启用条件显然不是很合适。

这个pr做了调整,引入了新的变量,默认archive页面会通过is-archive=true来标记,从而保证相关feature的启用,并和自定义的title逻辑剥离

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

Successfully merging this pull request may close these issues.

1 participant