Skip to content

Add shortname param to authors and link jumbotron/sidebar to host page #501

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

Merged
merged 2 commits into from
May 23, 2025

Conversation

mattstratton
Copy link
Owner

@mattstratton mattstratton commented May 23, 2025

Summary

This PR implements the ability to link host images and names in the jumbotron and sidebar to their respective host pages, addressing #482.

Features

  • Adds a shortname parameter to each author in the config (should match the host file slug)
  • Jumbotron and sidebar now wrap both the host image and name in a link to /host/{shortname}/ if present
  • Documentation updated in REFERENCE.md
  • Example config updated

Testing

  • Run npm run build and verify that host images and names in the jumbotron and sidebar link to the correct host pages

Fixes #482


🤖 This was generated by a bot. If you have questions, please contact the maintainers.

…bar to host page (Fixes #482) - Adds 'shortname' to authors config; Jumbotron and sidebar now link host image/name to /host/{shortname}/; Docs updated 🤖 This was generated by a bot. If you have questions, please contact the maintainers.
@mattstratton mattstratton merged commit 6642edd into v2 May 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant