I'm moving my website to Jekyll since Wordpress is way too bloated and far from easy to use for a simple blog+portfolio. I am then facing a problem which I could not solve looking at the documentation (and even the examples, since they are very very simple).
I want to have a site with a landing page at / (ok), a blog on the directory /blog/ and the posts at /blog/post-title/ (ok, I think) and a portfolio with my jobs at /portfolio/ with jobs at /portfolio/job-title/, but I cannot create this last directory.
I tried creating a _jobs dir inside the portfolio dir, and then looping through it with
{% for job in site.jobs %}
...html...
{% endfor %}
Since the blog example uses this same syntax, but with posts instead of jobs. How should I do to access this portfolio/_jobs directory and loop through the files?
The tree of the Jekyll folder is as follows:
.
├── blog
│ ├── index.html
│ └── _posts
│ ├── 2013-02-19-hello-world.markdown
│ └── 2014-03-01-welcome-to-jekyll.markdown
├── _config.yml
├── css
│ ├── main.css
│ └── syntax.css
├── _includes
│ ├── footer.html
│ ├── header.html
│ └── sidebar.html
├── _layouts
│ ├── default.html
│ ├── job.html
│ └── post.html
├── portfolio
│ ├── index.html
│ └── _jobs
│ └── jekyll-portfolio.markdown