Skip to content
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

Make news global #234

Merged
merged 5 commits into from
Dec 15, 2022
Merged

Make news global #234

merged 5 commits into from
Dec 15, 2022

Conversation

fsimonis
Copy link
Member

This PR moves the news banner html to its own _include/news-banner.html.

It is included in every page, use the boolean include.onlanding inside to determine where to show the banner.
I needed to add a .banner { padding: 15px 0; } to the customstyles.css to make this look decent on non-landing pages.

@fsimonis fsimonis requested a review from MakisH December 15, 2022 09:33
Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this looks really nice, as we now have a specific file to change and this will be included by Jekyll on the landing or every page.

I added a class banner-container and adjusted the margins to fix the spacing on non-landing pages. On Firefox, this seems to work on all three cases (true/false/include.onlanding).

@MakisH MakisH merged commit 4b18e4f into master Dec 15, 2022
@MakisH MakisH deleted the global-news branch December 15, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants