@digital-gravy/etch-connector 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/guidance.js +8 -0
- package/package.json +1 -1
package/dist/guidance.js
CHANGED
|
@@ -81,6 +81,14 @@ function routesGuidance(environment) {
|
|
|
81
81
|
" templateId, or its nearest ancestor's (templateId: null in a patch",
|
|
82
82
|
' inherits again). Read getPathsAsync() after a change — only',
|
|
83
83
|
' `published` paths are built.',
|
|
84
|
+
' SEO lives on the route, set through updateAsync: title, description,',
|
|
85
|
+
' language, canonical, socialImageId, faviconId (root only),',
|
|
86
|
+
" searchVisibility ('inherit' | 'hidden' | 'visible'), redirect",
|
|
87
|
+
' ({ to, status: 301 | 302 }, never on the root) and notFoundId. null',
|
|
88
|
+
' clears a field so it inherits; title, description and canonical may',
|
|
89
|
+
" hold expressions ('{this.title} | {site.name}'). listSeoAsync() returns",
|
|
90
|
+
' every published page resolved — one call for the whole site, so read',
|
|
91
|
+
' it before and after a pass rather than getSeoAsync(path) per page.',
|
|
84
92
|
' Do not build links from .slug (this.slug, item.slug in a loop, or',
|
|
85
93
|
' PostSummary.slug): only a record a static route serves has one. A',
|
|
86
94
|
' record served by a dynamic route has none, and listPostsAsync() reports',
|