- Contents of routes.md file:
/articles/{slug}:
template: articles/detail
/abstracts/{id}:
template: abstracts/detail
load: '{id}'
collections:
articles: '/articles/{slug}'
abstracts: '/abstracts/{id}'
* And with that I get the following urls:
/abstracts/96f8ee53-b851-42a7-8644-3af98e2da04c [1]
/article/entry-1 [2]
With [1] I have to enclose the detail template with {{ get_content from="{id}" }}
to get the data and with [2] I wasn't able to make it work at all, but according to the route documentation it should be automatically hooked, am I wrong?
Thanks in advance.