-
-
Notifications
You must be signed in to change notification settings - Fork 184
refactored code to align with vocab markup for person #865
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
refactored code to align with vocab markup for person #865
Conversation
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.
Please merge the updated vocab-refresh branch in.
Also, you should be able to get it to look better under Vocabulary (for example, see https://creativecommons.org/person/monicacreativecommons-org/)
Hi @TimidRobot I noticed that in Vocabulary, each page has a specific class on the I added the class manually in ![]() To make this dynamic (since each page may require different classes), the
Then, the respective model file (author.ini in this case) would need an update like this:
Finally, the front matter for each page would need to define its specific body_class. I haven’t implemented this yet because I thought the goal was to align the markup first and focus on styling later. However, I can go ahead and implement this now to ensure it works. Let me know if this is the right time to proceed. If there are other alternatives that could work, please share with me. |
@Queen-codes This looks like a good solution--I think this is worthwhile to do now |
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.
good work, thank you!
Fixes
Description
This PR refactors the
author.html
code to match the specimen provided forperson-page.html
in vocabularyChecklist
Update index.md
).main
ormaster
).visible errors.
Developer Certificate of Origin
For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."
Developer Certificate of Origin