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

Add support for other social media handles in page and project author metadata #1685

Open
thesamovar opened this issue Nov 29, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@thesamovar
Copy link

thesamovar commented Nov 29, 2024

It's possible to add social media links to the metadata for each author in a page or book. For example the page-level config like the following:

authors:
- name: Jo the Jovyan
  affiliation: Planet Jupyter
  twitter: projectjupyter

Results in:

Image

Option 1: Add other social media networks

In addition to Twitter, we could add support for other major social media links like:

  • BlueSky
  • Mastodon
  • Threads

Option 2: Generalize this so others can add arbitrary data

Another option would be to generalize this pattern into something that anybody could attach a URL + icon to. For example:

authors:
- name: Jo the Jovyan
   icons:
   - url: https://x.com/projectjupyter
      icon: fa-twitter

Related issues

@thesamovar thesamovar added the enhancement New feature or request label Nov 29, 2024
@choldgraf
Copy link
Collaborator

choldgraf commented Nov 29, 2024

Definitely something we want to support - here's the tracking issue for this in the html theme repository:

Although that is at the site level, not the author level. I wonder if adding social links per author is actually a different enhancement?

@thesamovar
Copy link
Author

Great!

@choldgraf choldgraf changed the title Add support for other social media handles in addition to twitter Add support for other social media handles in page and project author metadata Nov 29, 2024
@choldgraf
Copy link
Collaborator

I thought about it more and do think this is distinct from jupyter-book/myst-theme#362 so I've updated the body of this issue and focused it on author metadata!

@thesamovar
Copy link
Author

I like the more general solution!

@thesamovar
Copy link
Author

Thanks Chris.

@agoose77 agoose77 moved this to Needs Prioritisation in Jupyter Book MVP Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Needs Prioritisation
Development

No branches or pull requests

2 participants