-
Notifications
You must be signed in to change notification settings - Fork 141
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
docs: ensure twitter and og meta tags for all routes #787
docs: ensure twitter and og meta tags for all routes #787
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @iisakkirotko and the rest of your teammates on Graphite |
solara/website/pages/__init__.py
Outdated
Title(title="Solara: Example Apps") | ||
return children[0] | ||
if route_current is not None and route_current.path == "/": | ||
Title(title="Solara: Build high-quality web applications in pure Python") | ||
return Home() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this won't work, because the return 'overrides' the auto collecting. Not sure if the layout messes up when we have it without the return (because we get a column around it).
Maybe
with solara.Div():
Title(..)
Home()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the return works for the most part, but we run into #626 in a particularly bad way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See 3ebea2d for a solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works now, although the diff looks terrible.
823dcbc
to
d6572da
Compare
af9c2a7
to
87c0864
Compare
c08fea6
to
7a29367
Compare
Merge activity
|
7a29367
to
7e76104
Compare
No description provided.