我有一个jekyll网站,文件结构如下:
? _includes/
post-entry.html
? _posts/
2012-11-25-first-post.markdown
index.markdown
Run Code Online (Sandbox Code Playgroud)
在我的index.markdown中,我想包括post-entry.html这样的:
{% for post in site.posts %}
* {% include post-entry.html %}
{% endfor %}
Run Code Online (Sandbox Code Playgroud)
但这在博客中显示为HTML代码段.如何防止HTML受到保护?