我試圖把我的一個頁面的網站here到化身。傑基爾多個自定義重複的內容
我不太清楚,我所擁有的一切設置正確。我嘗試了X區域,我可以創建自定義可重複內容(就業,教育,投資組合),但我似乎無法讓他們展示。
因爲我只打算有一個網頁我的確在default.html中佈局中的所有工作(我不認爲這是正確的),創造就業機會的發言權循環,然後創建一個名爲「工作」的文件夾我有一個子目錄'_posts'包含自定義標記下的文件的路徑。它是否正確?
這是我關於這個問題的代碼。
default.html和片斷
<h3 class="secondary-heading">Employment</h3>
<ul class="history-list clearfix">
{% for post in site.categories.JOBS %}
<li class="item four columns offset-by-one alpha">
<i class="indicator"></i>
<div class="main-info clearfix">
<h5 class="tertiary-heading title alighleft">{{ post.title }}</h5>
<h6 class="dates alignright">{{ post.length }}</h6>
</div>
<h6 class="meta-info">{{ post.position }}</h6>
<p class="description">
{{ post.excerpt }}
</p>
</li>
{% endfor %}
</ul>
降價例如
title: test
category: jobs
length: April 2010 – April 2012
position: Junior Developer
---
Content to be displayed
這工作出色謝謝 –
很高興幫助:) –