Move program-areas directory and refactor program-areas.html#6388
Conversation
|
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes. Note that CONTRIBUTING.md cannot previewed locally; rather it should be previewed at this URL: |
|
Availability: 2/29 - 3/1, 10AM - 5PM |
|
Hey @luisitocanlas thanks for taking up this issue! Here's what you did well Overall nice work! |
freaky4wrld
left a comment
There was a problem hiding this comment.
@luisitocanlas thanks for taking up the issue, the branches looks fine and linked issue is correct too. The changes you made are great as well and docker-testing shows no error.
Thanks for mentioning the error, before merging I would like @t-will-gillis to look into the error, as everything looks fine to me
PR approved
|
Hey @luisitocanlas - tl;dr Thanks for mentioning the error, and I agree with your changes and with @freaky4wrld and @Anahisv23- looks great! Otherwise, I am still learning about Jekyll but I believe this is a difference in Collections vs Data Files. BTW this is outside of the scope of the issue, but I think it would help clarity by removing the blank lines at lines 60 and 26 and indenting the |
b02ce26
b02ce26 to
63d6b00
Compare
|
Hi @Anahisv23 , @freaky4wrld , @t-will-gillis, I'm also pretty new to Jekyll and I need to read more about that. I also incorporated the changes you recommended, it will definitely help on clarity. Thank you for all of your feedback! |
t-will-gillis
left a comment
There was a problem hiding this comment.
Hey @luisitocanlas - Thanks for making the edits!
I will go ahead and merge since @Anahisv23 and @freaky4wrld have already approved this

Fixes #6323
What changes did you make?
program-areasdirectory so it is outside of the_datadirectoryprogram-areasdirectory to_program-areas_config.yml, under thecollectionsvariable:pages/program-areas.htmlso that it works to pull information from the files in the_program-areasdirectory{% if program_areas[1].size > 0 %}at line 21 and{% endif %}at line 63program_areas[1]intoprogram_areasWhy did you make the changes (we will use this info to test)?
{% if program_areas[1].size > 0 %}at line 21,{% endif %}at line 63, andprogram_areas[1]were giving me this error:program-areasdirectory, the code withprogram_areas[1]was working perfectly. Once I moved theprogram-areasdirectory outside of the_datadirectory, that's when I started encountering the error