
请问 这行 ejs 代码如何转换为 jada ?
<meta name="keywords" cOntent="{% for tag in page.tags %}{{ tag.name }},{% endfor %}" /> 1 DualWield 2017 年 5 月 2 日 ``` - var keywords = page.tags.join(','); meta(name="keywords", cOntent=keywords) ``` |
2 DualWield 2017 年 5 月 2 日 Tag attributes look similar to html (with optional comma), but their values are just regular Javascript. meta(name="keywords", cOntent=page.tags.join(',')) |