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

10 lines
275 B
HTML

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