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

better default title for seo (also remove default description) #2844

Merged
merged 6 commits into from
Mar 13, 2024

Conversation

Lendemor
Copy link
Collaborator

Adding a new page without passing a title will now use the method make_default_page_title by passing app_name and route .

Example:

$ format.make_default_page_title("my_beautiful_app", "third_page")
> 'My Beautiful App : Third Page'

reflex/constants/route.py Outdated Show resolved Hide resolved
reflex/utils/format.py Outdated Show resolved Hide resolved
@Alek99
Copy link
Member

Alek99 commented Mar 12, 2024

Testing on the dev reflex web see if this fixes the description problem

@Alek99 Alek99 self-requested a review March 13, 2024 00:44
Alek99
Alek99 previously approved these changes Mar 13, 2024
@Alek99 Alek99 merged commit e5fc5f9 into main Mar 13, 2024
47 checks passed
@picklelo picklelo deleted the lendemor/better_default_seo branch August 21, 2024 20:42
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.

3 participants