-
-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create each program area page automatically using a layout #3328
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@JessicaLucindaCheng Is there are reason to take the word card off the file in the https://github.com/hackforla/website/tree/gh-pages/_program-areas directory? Seems like that is part of refactoring the program-areas.html page not making the 8 program area pages dynamic.
|
p.s. except for that, I would like to prioritize this. Please let me know. |
|
Issue Writing
Tasks
QuestionI plan to move the first 2 header paragraphs on the Citizen Engagement to the (future)
Answer:
|
Dependency
Diversity, Equity & Inclusion
#4120image
instead ofcard-image-src
#4159_program-areas
File From-card.yml
to.md
forcitizen-engagement-card.yml
#7425Overview
We want each program area page created dynamically so we don't have to manually code each page.
Action Items
_config.yml
,Find the
collections
variable and change the following:From:
To:
Find the
defaults
variable and add the following:citizen-engagement.html
from thepages
directory to the_layouts
directory.citizen-engagement.html
toprogram-area-pages.html
_projects
directory) has aprogram-area
field, which indicates what program area(s) a project falls under (e.g., Citizen Engagement, Workforce Development, etc.). A project can have 1 or more program areas. In theprogram-area-pages.html
file, use the current code in that file as a starting point and convert/modify the code so it becomes a reusable layout that will be used to dynamically render all the individual program area pages based on theprogram-area
field in each project's Markdown file. You may need to add or edit other files._projects
directory, there is a field calledvisible
. Ifvisible
is true, then the project should show up on the program area page(s) it falls under. Ifvisible
is false, then the project should not show up.We are currently drafting the Problem, Solution and Impact statements for this project.
The message is only shown for the projects that are missing program area info (problem, solution, impact, sdg, card-image-src, sdg-image-src)._projects/100-automations.md
hasWe are currently drafting the Problem, Solution and Impact statements for this project.
_projects/website.md
) hasprogram-area-pages.html
layout works,_sass/components
, change the filename_citizen_engagement.scss
to_program-area-pages.scss
_sass/main.scss
changeGitHub locations (includes any relevant html, css, yml, md, js files)
underTechnical Details
, including what file(s) had their name changed and what the new file name is.Technical Details
sectionResources/Instructions
The text was updated successfully, but these errors were encountered: