I'm trying to turn my one page website here over to Jekyll.
I'm not quite sure that I have everything set up correctly. I'm trying have X amount of areas that I can create custom repeatable content (jobs, education, portfolio), but I cannot seem to get them to display.
Because I am only going to have one page I did all the work in the default.html layout (I don't think this is correct) creating loop for say jobs, then creating a folder called 'jobs' in the route of the directory where I have a sub directory '_posts' containing custom mark down files. Is this correct?
Here is my code relating to the question.
default.html snippet
<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>
markdown example
title: test
category: jobs
length: April 2010 – April 2012
position: Junior Developer
---
Content to be displayed