Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Adding new projects

Martin Schurig edited this page Mar 4, 2016 · 2 revisions

Project files

You can find all projects in /projekte/.

To create a new project you'll need to create a new project file with the following markup:

/projekte/YYY-MM-DD-project-name.html

---
layout: project
lab: OK Lab Example # needed for Aggregation on Lab-Page
imgname: example/project-name.jpg # read section "Adding a project image" down below
title: Project Name
status: In Progress

links:
- url: http://example.com
  name: Webseite
- url: https://github.com/..../......
  name: Code auf Github
- url: http://example.com
  name: Datenquellen

collaborators:
- name: Your Name
  links:
    - url: https://twitter.com/....
      url-name: Twitter
    - url: https://github.com/....
      url-name: GitHub

---

Hier kommt die Projektbeschreibung hin..

Multiple project owners

If your project is owned by more than one OK Lab, you'll need to specify the Labs in this way:

Instead of

lab: OK Lab Example

write it like that

lab:
  - OK Lab Example
  - OK Lab Example2

Adding a project image

You can find all project images in

/assets/projects/:ok_lab_key/project-name.jpg (notice that :ok_lab_key is the key of your Lab)

To add a new project image make sure the directory named with the labs key in /assets/projects/ is present. If not, you'll need to create it. Go into it and place your image there. Make sure your images' name is the same as the one you've specified earlier in the project file.

Clone this wiki locally