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

Some links don't generate a title preview #367

Open
tmihoc opened this issue Dec 1, 2021 · 8 comments
Open

Some links don't generate a title preview #367

tmihoc opened this issue Dec 1, 2021 · 8 comments
Labels
documentation Improvements or additions to documentation

Comments

@tmihoc
Copy link
Member

tmihoc commented Dec 1, 2021

On https://discourse.charmhub.io/t/get-started-on-a-localhost/1970 , https://juju.is/docs/olm/installing-juju results in a title preview of the form "Juju | Install Juju" . However, https://juju.is/docs/olm/lxd does not---see screenshot below.

image

@tmihoc tmihoc changed the title Some links don't generate a preview Some links don't generate a title preview Dec 1, 2021
@tmihoc
Copy link
Member Author

tmihoc commented Dec 2, 2021

@tmihoc
Copy link
Member Author

tmihoc commented Dec 3, 2021

Wondering if it has something to do with the fact that the titles here were inside a note...

@Lukewh
Copy link
Contributor

Lukewh commented May 10, 2022

Looks like we need to add some metadata tags to docs pages to ensure we surface correct titles and descriptions across the web. @tmihoc - do you think this would solve the issue?

@tmihoc
Copy link
Member Author

tmihoc commented May 10, 2022

Looks like we need to add some metadata tags to docs pages to ensure we surface correct titles and descriptions across the web. @tmihoc - do you think this would solve the issue?

I don't know---we'd have to test.

@Lukewh
Copy link
Contributor

Lukewh commented May 10, 2022

This seems to be related to #368 actually? Can you also try the Markdown format described there? Unfortunately, the preview ins discourse does some 'discourse magic' that we can't hook in to.

@tmihoc
Copy link
Member Author

tmihoc commented May 10, 2022

OK

@Lukewh
Copy link
Contributor

Lukewh commented May 25, 2022

Hi @tmihoc – did this work?

@Lukewh Lukewh added the documentation Improvements or additions to documentation label May 25, 2022
@tmihoc
Copy link
Member Author

tmihoc commented May 27, 2022

Well, doing the Markdown manually is not really what I had in mind by "drop the link and get an automatic preview of the title). But yes, it does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants