Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxt): add default empty title to trigger titleTemplate#5064

Merged
pi0 merged 1 commit intomainfrom
fix/default-title
May 20, 2022
Merged

fix(nuxt): add default empty title to trigger titleTemplate#5064
pi0 merged 1 commit intomainfrom
fix/default-title

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 Linked issue

nuxt/nuxt#13981

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Previously a titleTemplate would only be used if there was also a title set (even if empty). This PR adds a basic empty title that can be overridden, meaning that titleTemplate works.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working 🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage labels May 19, 2022
@danielroe danielroe requested a review from pi0 May 19, 2022 13:20
@danielroe danielroe self-assigned this May 19, 2022
@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit 920c07c
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/628644238f41de000916b4cc
😎 Deploy Preview https://deploy-preview-5064--nuxt3-docs.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 settings.

Copy link
Copy Markdown
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

LGTM. Only as discussed with @danielroe it causes an empty <title> tag which could be improved.

@pi0 pi0 merged commit 9adecac into main May 20, 2022
@pi0 pi0 deleted the fix/default-title branch May 20, 2022 14:43
@pi0 pi0 mentioned this pull request Jun 10, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.x bug Something isn't working 🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants