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

Page title with html attributes #280

Closed
danieldocki opened this issue Dec 21, 2023 · 1 comment · Fixed by #284
Closed

Page title with html attributes #280

danieldocki opened this issue Dec 21, 2023 · 1 comment · Fixed by #284

Comments

@danieldocki
Copy link

Is there a possibility for thetitle method to receive an id?

something like title("My Title", id: "page-title")

I have this need because of hotwire, more details at:
https://discuss.hotwired.dev/t/how-do-you-update-a-pages-title-meta-description-open-graph-and-other-head-tags-when-using-turbo-frames-with-advance/4857/8

@EdgeCaseLord
Copy link

It would be great to have this option also for other meta tags like description, (tags), og:/twitter:anything. Actually necessary if you're asking me

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 a pull request may close this issue.

2 participants