feat(seo): metadata, previews and sitemaps for status pages and the app
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 6m23s
ci / test (pull_request) Successful in 12m44s
ci / build (pull_request) Successful in 16m9s
ci / image (pull_request) Successful in 3m24s
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 6m23s
ci / test (pull_request) Successful in 12m44s
ci / build (pull_request) Successful in 16m9s
ci / image (pull_request) Successful in 3m24s
Status pages describe themselves to search engines and link previews: description (from the page's text, else its status), canonical address, language versions via ?lang= with hreflang and x-default, Open Graph and Twitter tags, and a 1200x630 preview image per page and language showing its name and current status (/og.png). Each page has a sitemap.xml, and robots.txt keeps crawlers off feeds, the API and subscription forms. Component, legal and subscription pages are noindex. In the cloud edition the app's sign-in, sign-up and legal pages get the same tags with a preview image of their own, plus robots.txt and a sitemap. Everything signed in stays noindex, and self-hosted installations keep the whole app out of search engines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
918c71f283
commit
3baeb98ee2
23 files changed
+1546
-129
No files matched your search
@@ -16,6 +16,11 @@ import (
|
||||
type PublicAssets struct {
|
||||
CSSHref string
|
||||
InlineCSS string
|
||||
// Meta describes the page for search engines and link previews.
|
||||
Meta *PageMeta
|
||||
// NoIndex keeps the page out of search engines, as with legal and
|
||||
// subscription pages, which only repeat or serve the status page.
|
||||
NoIndex bool
|
||||
// StaleSince, if set, tells visitors that live updates are unavailable
|
||||
// and the page shows the state of that moment.
|
||||
StaleSince time.Time
|
||||
|
||||
Reference in new issue
Block a user