-
Notifications
You must be signed in to change notification settings - Fork 243
feat(zola): move site to Zola #381
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
Conversation
Signed-off-by: Laura Santamaria <[email protected]>
I'll be adding the GitHub Actions setup for publication next :) |
…stem Signed-off-by: Laura Santamaria <[email protected]>
I'll add previews in a future PR (issue ref #382 ) This final commit adds the GitHub Actions build for the repository. You can review a preview at https://nimbinatus.com/RedHatOfficial.github.io/ from my fork. (Note that, to get it to preview correctly for my fork, I had to modify the build flags at https://github.com/nimbinatus/RedHatOfficial.github.io/blob/dev/.github/workflows/build.yml#L30 if you're reviewing the differences between the two CI pipelines; there's also a preview attempt at the bottom at https://github.com/nimbinatus/RedHatOfficial.github.io/blob/dev/.github/workflows/build.yml#L45-L50 that is not working and thus not in this PR). Also, note that, in this live preview from my fork, the fonts aren't loading. I think the Red Hat fonts are specifically scoped to only run on github.io pages (or perhaps specifically allowed RedHatOfficial.github.io?), so it should load when merged and built for this repo. |
… v1) with data patch Tera v1 does not allow an alphabetical sort of an array. There's an open PR, but it's not merged yet. Tera v2 will update with that, but that's not in Zola yet. This patch fixes it for now. Signed-off-by: Laura Santamaria <[email protected]>
{% else %} | ||
<td></td> | ||
{% endif %} | ||
{% if project.twitterURL and project.twitterHandle %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not blocking, but twitterURL can be deduced from twitterHandle, so this could be simplified later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm going to leave it, but I'd like to completely take this out and have better logic allowing for more social platforms...
So i think that's mostly good to go. I didn't look at the CSS, but the rest look good. There is a few things later to improve (eg, plenty of folks have moved out of X/Twitter), but that is future improvement for future us. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good minus some small fixes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the preview site, these changes look good to me, but I want to make sure @mscherer 's comments get addressed as needed, too.
…o on featured list Signed-off-by: Laura Santamaria <[email protected]>
…l host Signed-off-by: Laura Santamaria <[email protected]>
… review Signed-off-by: Laura Santamaria <[email protected]>
Signed-off-by: Laura Santamaria <[email protected]>
…eview Signed-off-by: Laura Santamaria <[email protected]>
feat(zola): move site to Zola
This PR moves the site to Zola, a static site generator, to fix the build issues and to allow the site to function without Javascript.
Related issue
Testing instructions
As noted in the new readme:
To build and run this project in your local dev environment, first install Rust and Zola. Then, run
cd site zola serve
Go to the URL for the webserver (likely
localhost:1111
) to explore the site.Browser requirements (for page updates)
Your updates should work in the following environments:
Note that some features, like the fade-in for the back to top button, may not function, but they should all have fallbacks.
Also, please note that the search and filter functions will disappear with a note if Javascript is disabled.
Ready-for-merge Checklist
Check off items as they are completed. Feel free to delete items if they are not applicable.
Merging
Please squash when merging and ensure your commit message uses conventional commit formatting.