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:
titlethe name of the item that will appear as a header link in the cardhrefthe URL of the content you want to shareaccessmust be eitherpublicorinternal(all lowercase) depending on whether the content is open to everyone or internal to MSF or a specific projectstatusmust be eitheractiveorarchived(all lowercase). Assuming all new entries will beactive, but you should update this field toarchivedwhen the report or dashboard stops being updated with new dataauthorthe name of the group/team/person who is responsible for the contentdate-createdthe date the content was first pubished in format 'YYYY-MM-DD'.date-modifiedthe 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:
descriptiona short description of the contentimageinclude your own card image by adding an image to theassets/img/directory then reference it in theimagefield. If you do not add your own image a default epicentre logo will be usedcategoriesrelevant 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.repoa 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.