Skip to content

Commit 8f11d95

Browse files
committed
made query path dynamic. creativecommons#62
1 parent 13add77 commit 8f11d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/author.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ label = {{ this.name }}
44
hidden = yes
55

66
[children]
7-
replaced_with = site.query('/archives/old-tech-blog/entries').filter(F.author.contains(this))
7+
replaced_with = site.query(this.parent.parent.path + '/entries').filter(F.author.contains(this))
88

99
[fields.name]
1010
label = Name

0 commit comments

Comments
 (0)