Is this behaviour of conditional directories intended? #2749
|
Setting the first condition to |
Replies: 1 comment 8 replies
|
That's an interesting question, and one might be tempted to expect that an empty directory name omits this path segment from the final path instead of omitting the entire subtree. But the original intent of conditionally rendering directory names has been conditional exclusion of subtrees. See our documentation on conditional files and directories for more details. An alternative way to conditionally exclude subtrees involves a templated |
I was able to get the desired renders with the following: