diff --git a/src/backends/backend.js b/src/backends/backend.js
index <HASH>..<HASH> 100644
--- a/src/backends/backend.js
+++ b/src/backends/backend.js
@@ -30,7 +30,7 @@ const slugFormatter = (template = "{{slug}}", entryData) => {
   const getIdentifier = (entryData) => {
     const validIdentifierFields = ["title", "path"];
     const identifiers = validIdentifierFields.map((field) =>
-      entryData.find((_, key) => key.toLowerCase() === field)
+      entryData.find((_, key) => key.toLowerCase().trim() === field)
     );
 
     const identifier = identifiers.find(ident => ident !== undefined);
Change .find() predicate to not reject field names based on spurious whitespace.