Skip to content

Move program-areas directory and refactor program-areas.html #6323

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

Overview

We need to move the program-areas directory and refactor program-areas.html so that

  • we can use the contents in the files in the program-areas directory for individual program area pages in the future, and
  • the Program Areas page 1 doesn't break when the program-areas directory is moved

Action Items

  • Find the program-areas directory under _data/internal
  • Move the program-areas directory so it is outside of the _data directory
  • Rename the program-areas directory to _program-areas
  • In _config.yml, find the collections variable. For more info on collections, see Collections 2 in the Resources/Instructions section.
    • Add the following:
        program-areas:
          output: false
      
  • In pages/program-areas.html, refactor the code so that it works to pull information from the files in the _program-areas directory
  • Using Docker, check your changes on the Program Areas page 1 in desktop, tablet, and mobile views against the live page on the website
  • Once your pull request is merged, go to Create each program area page automatically using a layout #3328 and

Resources/Instructions

Footnotes

  1. Program Areas 2

  2. Collections

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions