feat: SEO field types and the complete SEO tab
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# URL rule form (UI-SPEC C7). The SEO field types (seotext, seorobots,
|
||||
# seoimage) and the preview partials come with the field elements.
|
||||
# URL rule form (UI-SPEC C7): address and match, the P1 callouts and the
|
||||
# result preview, the SEO values with the SEO field types, the note and the
|
||||
# P2 effective values. The preview has no fill: an owner form's widget may
|
||||
# fill built-in scalar fields only, so it previews the saved rule.
|
||||
fields:
|
||||
url:
|
||||
label: golem15.seo::lang.rules.url
|
||||
@@ -17,16 +19,30 @@ fields:
|
||||
exact: golem15.seo::lang.rules.match_exact
|
||||
pattern: golem15.seo::lang.rules.match_pattern
|
||||
|
||||
_seo_status:
|
||||
type: partial
|
||||
path: seo_status
|
||||
span: full
|
||||
context: update
|
||||
|
||||
_seo_snippet:
|
||||
label: golem15.seo::lang.field.snippet
|
||||
type: widget
|
||||
widget: golem15-seo-serp
|
||||
action: seo_snippet
|
||||
span: full
|
||||
|
||||
title:
|
||||
label: golem15.seo::lang.field.title
|
||||
comment: golem15.seo::lang.field.title_comment_rule
|
||||
type: text
|
||||
type: seotext
|
||||
measure: title
|
||||
span: full
|
||||
|
||||
description:
|
||||
label: golem15.seo::lang.field.description
|
||||
type: textarea
|
||||
size: small
|
||||
type: seotext
|
||||
measure: description
|
||||
span: full
|
||||
|
||||
canonical:
|
||||
@@ -38,14 +54,9 @@ fields:
|
||||
robots:
|
||||
label: golem15.seo::lang.field.robots
|
||||
comment: golem15.seo::lang.field.robots_comment_rule
|
||||
type: dropdown
|
||||
span: right
|
||||
options:
|
||||
'': golem15.seo::lang.robots.inherit
|
||||
'index,follow': 'index, follow'
|
||||
'noindex,follow': 'noindex, follow'
|
||||
'index,nofollow': 'index, nofollow'
|
||||
'noindex,nofollow': 'noindex, nofollow'
|
||||
type: seorobots
|
||||
scope: rule
|
||||
span: full
|
||||
|
||||
og_title:
|
||||
label: golem15.seo::lang.field.og_title
|
||||
@@ -60,7 +71,7 @@ fields:
|
||||
|
||||
og_image:
|
||||
label: golem15.seo::lang.field.og_image
|
||||
type: text
|
||||
type: seoimage
|
||||
span: full
|
||||
|
||||
note:
|
||||
@@ -69,3 +80,10 @@ fields:
|
||||
type: textarea
|
||||
size: tiny
|
||||
span: full
|
||||
|
||||
_seo_effective:
|
||||
label: golem15.seo::lang.field.effective
|
||||
type: partial
|
||||
path: seo_effective
|
||||
span: full
|
||||
context: update
|
||||
|
||||
@@ -52,7 +52,13 @@ fields:
|
||||
|
||||
default_og_image:
|
||||
label: golem15.seo::lang.settings.default_og_image
|
||||
type: text
|
||||
type: seoimage
|
||||
span: full
|
||||
tab: golem15.seo::lang.settings.tab_general
|
||||
|
||||
_placeholders:
|
||||
type: partial
|
||||
path: placeholders
|
||||
span: full
|
||||
tab: golem15.seo::lang.settings.tab_general
|
||||
|
||||
|
||||
Reference in New Issue
Block a user