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

fix: update meta tags in layout and mod page #184

Draft
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

QuantumPickleJar
Copy link

@QuantumPickleJar QuantumPickleJar commented Sep 21, 2024

+layout.svelte page now uses dynamic handling of tags AND supplies default metadata.

refs #177, #174, #172
TESTING NEEDED!

Aiming to fix #90

layout page now uses dynamic handling of <meta> tags and supplies default metadata.

refs satisfactorymodding#177, satisfactorymodding#174, satisfactorymodding#172
Copy link

vercel bot commented Sep 21, 2024

@QuantumPickleJar is attempting to deploy a commit to the satisfactorymodding Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Sep 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
smr-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 21, 2024 10:28pm

Copy link
Member

@budak7273 budak7273 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, and it still seems to be adding new sets of head elements every time you change pages.

  1. Visit http://localhost:3000/ and open devtools. There are already multiple Title elements.
    image
  2. Click on the Tools page. The first Title has updated but there is another set.
    image
  3. Navigate to any other page (ex. Guides). Displayed tab title remains Tools - SMR and another set is generated
    image

@budak7273 budak7273 marked this pull request as draft November 8, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

Page head element does not change when navigating between pages
2 participants