angular-docs-cn/docs/angular.io-package/templates/jade-data.template.html

8 lines
204 B
HTML

{
{%- for item in doc.data %}
"{$ item.name $}" : {
"title" : "{$ item.title $}"{% if item.intro %},
"intro" : "{$ item.intro $}"{% endif %}
}{% if not loop.last %},{% endif %}
{% endfor -%}
}