nVe*_*lia 16 ruby git liquid jekyll
我正在尝试使用Jekyll设置一个小博客.到目前为止,我的工作如下.
一切正常,但液体语法不能按预期工作.所有语法都作为平面文本输出.我不知道如何继续.此错误在本地以及我的github托管页面上都会发生.
这是我的index.html文件
<!DOCTYPE html>
<html lang="en-us">
<head>
{% include meta %}{{ site.time | date_to_xmlschema }}
</head>
<body>
{% include header.html %}
{% include header.html %}
{% include header.html %}
{% foo %}
{{ foo }}
<section class="main-content">
{% include footer.html %}
</section>
{% include scripts.html %}
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
我的_config.yml定义了foo.=(
Dav*_*uel 28
如果您希望Jekyll处理您的页面,您必须在页面中添加Front事项(请参阅Jekyll文档中的专用页面).
最小的前端是空的.这意味着您的页面将使用默认配置进行布局等.
---
# this is an empty front matter
---
Your content here
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4008 次 |
| 最近记录: |