我的项目结构:
/_config.yml
./_layouts
./_posts
./_posts/2011-07-29-my-first-jekyll-post.markdown
./_notices/2011-07-29-my-first-notice.markdown
./_notices/2011-07-30-my-second-notice.markdown
./_site
./index.html
使用后它可以工作:
{% for post in site.posts %}
... listing all posts ...
{% endfor %}
新闻不起作用:
{% for notice in site.notices %}
... listing all notices ...
{% endfor %}
通知不起作用。如何实现类似于帖子列表的项目列表?