You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the default template used by the include helper to generate the related list:
{% if (verb.related && verb.related.list && verb.related.list.length) { %}
{%= verb.related.description || "You might also be interested in these projects:" %}
{%= related(verb.related.list) %}
{% } %}
You can create a custom template and use that where it says TEMPLATE HERE in the first code example. However, you'll also need to get the data for the template to render the list. This is the kind of thing that I want to simplify in the next release.
Activity
tunnckoCore commentedon Sep 24, 2018
Yeaa! Make sense :P
tunnckoCore commentedon Oct 31, 2018
Hm. Where to start with that?
jonschlinkert commentedon Nov 1, 2018
Just so you can see how this works, try adding the following to package.json:
This is the default template used by the
include
helper to generate the related list:You can create a custom template and use that where it says
TEMPLATE HERE
in the first code example. However, you'll also need to get the data for the template to render the list. This is the kind of thing that I want to simplify in the next release.