2013-10-08 24 views

回答

0

提供您正在使用ECO,你應該能夠做到:

The primary url: 
<%- @document.url %> 

All the urls: 
<%- JSON.stringify @document.urls %> 
+0

...但如何讓** **渲染網址? – stackasec

+0

你認爲所呈現的網址是什麼?它是什麼樣子的? – balupton

+0

例如文件路徑爲'/ en/some/path/to/my/document/title',其中**呈現的** URL爲'/ en/title'。 – stackasec