Moving html files from pages/wins to _includes folder #2111
Labels
Complexity: Medium
Feature: Refactor HTML
P-Feature: Wins Page
https://www.hackforla.org/wins/
role: front end
Tasks for front end developers
size: missing
Milestone
### Dependency
The feature branch wins-feature-1 needs to be merged first to avoid conflicts with solving this issue. Only work on this after that is done.
Specific blocking issues:
#2138#2029#1981And check to see if there are any with both Wins feature label and feature branch label
Overview
As a user, I should not be able to access certain html files from the URL. (i.e. https://www.hackforla.org/pages/wins/wins-hero.html). We need to clean up how we are storing files so that they are not visible when we don't want them to be, specifically when they don't appear on the sitemap.
Details
Opened as a continuation of #2073
Jekyll should not render the individual html files under pages/wins if the main page, wins.html, already includes and renders them in its body. Additionally, a user can reach the html through the url, but this should be hidden.
Action Items
Note: wins.html and wins-share-form.html should stay where they are currently located
Resources/Instructions
Jekyll doc on the _includes directory
Jekyll doc on site structure
Site Architecture
Initial Issue: #2073
The text was updated successfully, but these errors were encountered: