-
Notifications
You must be signed in to change notification settings - Fork 229
update google headers #1716
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
update google headers #1716
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,13 +5,14 @@ | |
| from pcweb.meta.meta import meta_tags | ||
| from pcweb.route import Route | ||
|
|
||
| DEFAULT_TITLE = "Web Apps in Pure Python" | ||
| DEFAULT_TITLE = "The platform to build and scale enterprise apps" | ||
| DEFAULT_DESCRIPTION = "Connect to all your company data and systems to build secure internal apps with AI. Deployed on prem with built-in governance and production-grade reliability, so technical and nontechnical teams can ship together." | ||
|
|
||
|
|
||
| def mainpage( | ||
| path: str, | ||
| title: str = DEFAULT_TITLE, | ||
| description: str | None = None, | ||
| description: str | None = DEFAULT_DESCRIPTION, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. changing default from |
||
| image: str | None = None, | ||
| meta: list[dict[str, str]] = meta_tags, | ||
| props=None, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,13 +5,14 @@ | |
|
|
||
| from pcweb.route import Route | ||
|
|
||
| DEFAULT_TITLE = "Web Apps in Pure Python" | ||
| DEFAULT_TITLE = "The platform to build and scale enterprise apps" | ||
| DEFAULT_DESCRIPTION = "Connect to all your company data and systems to build secure internal apps with AI. Deployed on prem with built-in governance and production-grade reliability, so technical and nontechnical teams can ship together." | ||
|
Comment on lines
+8
to
+9
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these string literals are duplicated across Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time! |
||
|
|
||
|
|
||
| def webpage( | ||
| path: str, | ||
| title: str = DEFAULT_TITLE, | ||
| description: str | None = None, | ||
| description: str | None = DEFAULT_DESCRIPTION, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. changing default from |
||
| image: str | None = None, | ||
| meta: list[dict[str, str]] | None = None, | ||
| props=None, | ||
|
|
||
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.
these string literals are duplicated across
mainpage.pyandwebpage.py- consider extracting them to a shared constants module to maintain consistencyNote: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!