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
@@ -22,6 +22,12 @@ templ publicShell(s agentapi.PageSnapshot, a PublicAssets, docTitle string) {
|
||||
<link rel="alternate" type="application/rss+xml" title={ s.Title } href={ a.ComponentBase + "feed.rss" }/>
|
||||
}
|
||||
<title>{ docTitle }</title>
|
||||
if a.Meta != nil {
|
||||
@metaTags(a.Meta)
|
||||
}
|
||||
if a.NoIndex {
|
||||
@noIndex()
|
||||
}
|
||||
if a.InlineCSS == "" {
|
||||
@faviconLinks()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user