diff --git a/crates/djls-template-ast/src/tagspecs.rs b/crates/djls-template-ast/src/tagspecs.rs index 7b1f55d..6026e42 100644 --- a/crates/djls-template-ast/src/tagspecs.rs +++ b/crates/djls-template-ast/src/tagspecs.rs @@ -57,9 +57,9 @@ impl TagSpecs { if path.exists() { return match file { "pyproject.toml" => { - Self::load_from_toml(&path, &["tool", "djls", "template", "tags"]) + Self::load_from_toml(&path, &["tool", "djls", "tagspecs"]) } - _ => Self::load_from_toml(&path, &[]), // Root level for other files + _ => Self::load_from_toml(&path, &["tagspecs"]), // Root level for other files }; } }