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

Minor HTML fixes #197

Open
wants to merge 3 commits into
base: master-node
Choose a base branch
from
Open

Minor HTML fixes #197

wants to merge 3 commits into from

Conversation

zaz
Copy link

@zaz zaz commented Mar 28, 2024

The first commit makes some minor HTML fixes to the home page. <div>s after <li>s are not valid HTML, so I replaced them with <p>s inside <li>s. So now the HTML for sheets matches the structure of the HTML for publications. That led to the second commit, which removes the spreadsheet-related-content, publication-link, and publications classes:

- #homepage-container section#description-section .spreadsheet-related-content, #homepage-container section#description-section .publication-link + p
+ #homepage-container section#description-section li p

Note that the second commit messes up the formatting slightly on your home 500 page, but I'm not sure what is going on with that file; it seems it is possibly out of date. You also may be able to use home.handlebars to handle both the 400 and 500 cases. I'll leave it to you to decide how to handle that.

The third commit replaces all tabs with spaces. Previously, spaces were used almost everywhere.

This is untested.

@swallace21
Copy link
Collaborator

Hey Zaz, thanks for checking this out. I will take a look at these soon.

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