Skip to content

SDG yml template

Jessica Cheng edited this page Mar 20, 2023 · 6 revisions

This is the template to be used for Sustainable Development Goal (SDG) yml files in the _data/internal/sdgs directory. Here is an example file: [INSERT LINK TO EXAMPLE HERE]

# The Sustainable Development Goal (SDG) number (e.g. 9)
sdg: [INSERT NUMBER HERE]
# The color name of the SDG image. This is based on its associated color variable without the `$color-` portion. For example, SDG 16's color variable is $color-royalblue, so its color would be royalblue. 
color: [INSERT COLOR NAME HERE]
# The SDG image
image: [INSERT SDG ICON FILE PATH HERE]
# The alt text for the SDG image
image-alt: [INSERT SDG ALT HERE]
targets:
    # The SDG target (e.g. b)
  - target: [INSERT SDG TARGET HERE]
    # The SDG target statement 
    statement: [INSERT SDG STATEMENT HERE]
Clone this wiki locally