Files
sm-seo-plugin/models/rule/fields.yaml

90 lines
2.3 KiB
YAML

# 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
comment: golem15.seo::lang.rules.url_comment_full
type: text
span: left
required: true
match:
label: golem15.seo::lang.rules.match
type: dropdown
span: right
default: exact
options:
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: seotext
measure: title
span: full
description:
label: golem15.seo::lang.field.description
type: seotext
measure: description
span: full
canonical:
label: golem15.seo::lang.field.canonical
comment: golem15.seo::lang.field.canonical_comment
type: text
span: left
robots:
label: golem15.seo::lang.field.robots
comment: golem15.seo::lang.field.robots_comment_rule
type: seorobots
scope: rule
span: full
og_title:
label: golem15.seo::lang.field.og_title
type: text
span: left
og_description:
label: golem15.seo::lang.field.og_description
type: textarea
size: small
span: full
og_image:
label: golem15.seo::lang.field.og_image
type: seoimage
span: full
note:
label: golem15.seo::lang.rules.note
comment: golem15.seo::lang.rules.note_comment
type: textarea
size: tiny
span: full
_seo_effective:
label: golem15.seo::lang.field.effective
type: partial
path: seo_effective
span: full
context: update