1
我创建了一个新的页面无法正常工作,有一个for循环显示的帖子列表中,但作为expcted 杰奇for循环如预期
,这里是我的代码不能正常工作:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<ul>
{% for post in site.posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
{{ post.excerpt }}
</li>
{% endfor %}
</ul>
</body>
</html>
它的工作,谢谢。 –