Skip to content
This repository was archived by the owner on May 24, 2019. It is now read-only.

GerwinBosch/Labs

Repository files navigation

Local installation

Prerequisites

  1. Clone this Git repositoy:

    git clone https://github.com/PDOK/data.labs.pdok.nl
  2. Run the container in the directory of the repository

    docker-compose up
  3. The site now run on http://localhost:4000.

Issues

Seemingly random card order on overview pages

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 %}

About

Temp Labs site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors