Skip to content

Creating a yml file for SDG 16 #6222

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

Prerequisites

  1. Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our Getting Started page and attend an onboarding session.
  2. You have already read our How to Contribute to Hack for LA Guide.

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 sdg16.yml
  • In the file you just created, add the following:
# The Sustainable Development Goal (SDG) number (e.g. 16)
sdg: 16
# The SCSS color variable that matches the color of the SDG image 
color-variable: $color-sdg16
# The path to the SDG image
image: /assets/images/sdg/sdg16.svg
# The alt text for the SDG image
image-alt: 16 Peace, Justice, And Strong Institutions
targets:
    # The SDG target (e.g. 1, 2, or a, b, ...)
  - target: 7
    # The SDG target statement 
    statement: Ensure responsive, inclusive, participatory and representative decision-making at all levels
  - target: 8
    statement: Broaden and strengthen the awareness and participation of City and local communities, especially those traditionally underserved and marginalized, in the institutions of local and global governance

Resources/Instructions

Metadata

Metadata

Labels

Complexity: SmallTake this type of issues after the successful merge of your second good first issueDraftIssue is still in the process of being createdp-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

New Issue Approval

Relationships

None yet

Development

No branches or pull requests

Issue actions