Skip to content

Commit

Permalink
fix: collection path in collection paths
Browse files Browse the repository at this point in the history
Uses the full collection path in the `$path` variable so that sub directories are supported by default.
  • Loading branch information
Zoramite authored Aug 3, 2021
1 parent 2514af8 commit 7e26d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/pages/_collection.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$path: /${doc.basename}/
$path: /${doc.collectionPath}/${doc.basename}/
$view: /views/base.njk
$localization:
path: /intl/${doc.locale.id}/${doc.basename}/
path: /intl/${doc.locale.id}/${doc.collectionPath}/${doc.basename}/
locales:
- en
- en

0 comments on commit 7e26d13

Please sign in to comment.