Skip to content

Commit

Permalink
fix: correct wrong value of collection.sub_path
Browse files Browse the repository at this point in the history
  • Loading branch information
lgiordani authored and jeremydw committed Apr 17, 2022
1 parent f665e1e commit 8f84cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grow/routing/path_format.py
Expand Up @@ -138,7 +138,7 @@ def params_doc(self, path, doc):
params['base'] = doc.base
params['collection'] = structures.AttributeDict(
base_path=doc.collection_base_path,
sub_path=doc.collection_base_path,
sub_path=doc.collection_sub_path,
basename=doc.collection.basename,
root=doc.collection.root)
if '{category}' in path:
Expand Down

0 comments on commit 8f84cf7

Please sign in to comment.