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: should render title correctly in index.html #1621

Merged
merged 1 commit into from
May 28, 2024

Conversation

kermanx
Copy link
Member

@kermanx kermanx commented May 28, 2024

Previously, the getTitle returns undefined, because the logic in itself is incorrect, and the load function in parser/fs.ts returns headmatter: {title: undefined} which prevents the default value ("Slidev") of title from taking effect.

Copy link

netlify bot commented May 28, 2024

Deploy Preview for slidev ready!

Name Link
🔨 Latest commit 754d77b
🔍 Latest deploy log https://app.netlify.com/sites/slidev/deploys/665548a1b01b1f00082c6aea
😎 Deploy Preview https://deploy-preview-1621--slidev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@antfu antfu merged commit 4b7a611 into slidevjs:main May 28, 2024
18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants