對於集合我想使用docpad.coffee中定義的助手如如何設置docpad.coffee輔助函數以進行集合生成?
getLang: (inLang) ->
"/" + inLang + "/"
...
myCollection: ->
@getCollection("html").findAllLive().on "add", (model) ->
model.setMeta({ url: @getLang("en") + defaultUrlPartGoesHere })
,但不能得到FilesCollection知道我的助手:/
如何變爲可用設置輔助功能爲收藏定義?