0
我做了一個jekyll站點,並且都很好,很棒。然後,我決定將博客移到域的根目錄。現在它看起來像jekyll不正確解析我的帖子。所有格式都從帖子內容中刪除。標題,突出顯示和所有內容僅作爲字符串輸出。我的佈局文件中的Html標記完好無損,其他所有內容都按預期工作。在根分支格式化/解析博客循環 - jekyll站點
這是我的index.html這使得博客圈:
---
layout: main
title: my title
---
{% for post in site.posts %}
<article>
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<time datetime="{{ post.date | date: "%Y-%m-%d" }}"><span>{{ post.date | date_to_string }}</span></time>
{{ post.content | postmorefilter: post.url, "Read the rest of this entry" }}
</article>
{% endfor %}
這是我的職位佈局(journal.html):
---
layout: main
---
<article>
<h2>{{page.title}}</h2>
{{ page.content }}
</article>
我的帖子使用layout: journal
我已經刪除了gererated站點,停止並開始jekyll和其他許多事情。
有什麼建議嗎?