Skip to content

Add Links to Each Program Area #8487

@nadiaspn0503

Description

@nadiaspn0503

Overview

We need to revise the template that builds the program areas page, so that each program area links to its subpage.

Details

  • Program areas titles (e.g., Citizen Engagement) should link to their respective subpages. Currently, these titles are not clickable. Update the following line of code in resource 1.02 so each program area name links to its corresponding subpage.
          <h2 class="title4">{{program_areas.name}}</h2>
  • When implementing dynamic linking, note that each program area page URL is derived from its file name (excluding the .md extension). e.g. Citizen Engagement should link to https://www.hackforla.org/program-areas/citizen-engagement [Resource 1.03].

Action Items

  • In your IDE, open pages/program-areas.html [Resource 1.02]
  • Change the following line from
          <h2 class="title4">{{program_areas.name}}</h2>

to

          <h2 class="title4"><a href="{{program_areas.slug}}">{{program_areas.name}}</a></h2>
  • Using Docker, verify changes on the Program Areas page [Resource 1.01]

Resources/Instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Ready for Prioritization

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions