New items can be added to the gallery.yml
file after which they will automatically appear on the website gallery when it is next generated.
Below is an example of an item entry:
- title: West Africa Diphtheria
description: Intersectional diphtheria linelist dashboard
href: https://apps.epicentre-msf.org/secure/app/west-africa-diphtheria
repo: https://github.com/epicentre-msf/west-africa-diptheria-app
access: internal
status: active
author: Epi DS
date-created: '2023-10-29'
date-modified: '2023-11-17'
image: assets/img/epicentre_logo.png
categories:
- surveillance
- diphtheria
- nigeria
- niger
The following fields must be filled for each new item:
title
the name of the item that will appear as a header link in the cardhref
the URL of the content you want to shareaccess
must be eitherpublic
orinternal
(all lowercase) depending on whether the content is open to everyone or internal to MSF or a specific projectstatus
must be eitheractive
orarchived
(all lowercase). Assuming all new entries will beactive
, but you should update this field toarchived
when the report or dashboard stops being updated with new dataauthor
the name of the group/team/person who is responsible for the contentdate-created
the date the content was first pubished in format 'YYYY-MM-DD'.date-modified
the date the content was last modified/updated in format 'YYYY-MM-DD'. By default, the gallery is sorted by status (active before archived) and then this date. You can move your item to the top of the list by updating its modified date to the most recent.
The following fields are optional but recommended:
description
a short description of the contentimage
include your own card image by adding an image to theassets/img/
directory then reference it in theimage
field. If you do not add your own image a default epicentre logo will be usedcategories
relevant categories that apply to the content like name of the disease for example. Ensure you do not duplicate an existing category with a different spelling etc. Look at the existing categories on the gallery page to verify.repo
a URL linking to the code repository of the project. This is not currently used but may be useful in the future.
Once you have added a new item to items.yml
(and an image to assets/img/
ideally), commit these changes to the main branch on github and the site will be automatically re-generated using a github action and published at https://epicentre-msf.github.io/gallery/
Github pages does use caching so you may need to hard refresh your browser to see the changes on the site.