3

Either-Or option in template

A template field that can resolve using either of two keys. Ideally this would also work for using other templates as roots, eg,

publish_area: @(asset_root|shot_root)/publish

I imagine this might be tricky for ensuring no two templates can resolve to the same path, but it would drastically shorten the number of required templates, as well as open up to multiple storage locations while still mapping across.

 

2 条评论

  • Avatar
    Nephi Sanchez 正式评论

    Thanks for the input Matthew!

  • 1
    Avatar
    Mike Brainerd

    Or how about full-on Jinja support :)

请先登录再写评论。