-
Clone this Git repositoy:
git clone https://github.com/PDOK/data.labs.pdok.nl
-
Run the container in the directory of the repository
docker-compose up
-
The site now run on http://localhost:4000.
While it is nice to generate overview pages automatically, it is currently not possible to determine the order in which cards appear in the overview, which is very undesirable. The code that produces these seemingly random orders looks like this:
{% for page in site.pages %}
{% if page.layout == "story" %}
<a href="{{page.url}}">
<div class="card">
<img class="card-image" alt="{{page.title}}" src="{{page.logo}}">
<div class="card-title">{{page.title}}</div>
<div class="card-description">{{page.description}}</div>
</div>
</a>
{% endif %}
{% endfor %}