Skip to content

Creating a yml file for SDG 3 #4451

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

Overview

We want to create a yml file for a Sustainable Development Goal (SDG) so that information is not repeated in multiple files.

Action Items

  • In _data/internal/sdg, add a file called sdg3.yml
  • In the file you just created, add the following:
# The Sustainable Development Goal (SDG) number (e.g. 16)
sdg: 3
# The SCSS color variable that matches the color of the SDG image 
color-variable: $color-sdg3
# The path to the SDG image
image: /assets/images/sdg/sdg3.svg
# The alt text for the SDG image
image-alt: 3 Good Health And Well-being
targets:
    # The SDG target (e.g. 1, 2, or a, b, ...)
  - target: 4
    # The SDG target statement 
    statement: By 2030, reduce premature mortality from non-communicable diseases through prevention and treatment and promote mental health and well-being

Resources/Instructions

Metadata

Metadata

Assignees

Labels

Complexity: SmallTake this type of issues after the successful merge of your second good first issuep-feature: SDGsSDGs wherever they appear on the site (they all use a color library, set of icons, etc.)role: front endTasks for front end developerssize: 0.25ptCan be done in 0.5 to 1.5 hours

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions