avitorio / outstatic

Outstatic - A static CMS for Next.js
https://Outstatic.com
MIT License
2.67k stars 157 forks source link

Incorrect Page Title Display on Detail Page #112

Closed xinzhi closed 1 year ago

xinzhi commented 1 year ago

Provide environment information

Page: https://outstatic-dev-blog-8qilismfg-andrevitorio.vercel.app/posts/nothing-wrong

What browser are you using? (if relevant)

Chrome/114.0.0.0

How are you deploying your application? (if relevant)

Vercel

Describe the Bug

Actual Title: Outstatic

Expected Behavior

Expected Title: Nothing is wrong. Everything is perfect | Outstatic

Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster

https://github.com/avitorio/outstatic/tree/canary/examples/blog

To Reproduce

I have identified an issue while comparing the following two pages:

Link 1: https://outstatic-dev-blog-8qilismfg-andrevitorio.vercel.app/posts/nothing-wrong Link 2: https://outstatic-example-blog.vercel.app/posts/nothing-wrong

To Reproduce: To reproduce the issue, please follow the steps below:

avitorio commented 1 year ago

Hey @xinzhi Thanks for bringing this up to our attention.

I might have removed the title and other metadata part of the deploy with vercel blog when updating it to use the /app directory.

Let me know if you'd like to try adding the metadata API to the example blog. You'd need to add it to /apps/dev and /examples/blog in our repository.

avitorio commented 1 year ago

Hey @xinzhi, Just wanted to let you know I've fixed this. Thanks for flagging this! :)