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

Pages should have meta tags #49

Open
toBeOfUse opened this issue Apr 7, 2024 · 2 comments
Open

Pages should have meta tags #49

toBeOfUse opened this issue Apr 7, 2024 · 2 comments

Comments

@toBeOfUse
Copy link
Contributor

Pages on the public site should have meta tags with a title, description, and thumbnail image, so that linking to them on e.g. Discord displays a little useful preview. vite-ssg, which builds the public site, says to use @unhead/vue to add that information to the <head> per-page.

@toBeOfUse
Copy link
Contributor Author

I started doing this with the new hackathon guide page, it's pretty simple

useHead({
title: "KHE's Guide to Hackathons",
meta: [
{
name: "description",
content: "Our guide to hackathons, with examples of projects, a roadmap " +
"of technologies, and more.",
},
],
});

@toBeOfUse
Copy link
Contributor Author

Added meta tags to home page also

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

No branches or pull requests

1 participant