feat(autotag) simplify rule

This commit is contained in:
SansGuidon 2025-01-16 14:11:55 +00:00
parent 2fc5842df1
commit bcf7613f9e

View File

@ -6,7 +6,7 @@ function auto_tag_plugin_init(ConfigManager $conf)
{ {
// Configure keywords and tags based on provided rules // Configure keywords and tags based on provided rules
$conf->setEmpty('plugins.AUTO_TAG_KEYWORDS', [ $conf->setEmpty('plugins.AUTO_TAG_KEYWORDS', [
'accessibility,accessibilité,web development,web design,html,css' => 'web-development', 'accessibility,accessibilité,web development,web design,html,css' => 'web',
'accounting,comptabilité' => 'accounting', 'accounting,comptabilité' => 'accounting',
'addict,addiction,drugs,drogues,cigarettes,bonbons,dopamine,sucre,nicotine,hooked' => 'addiction', 'addict,addiction,drugs,drogues,cigarettes,bonbons,dopamine,sucre,nicotine,hooked' => 'addiction',
'adhd,tdah' => 'adhd', 'adhd,tdah' => 'adhd',