feat: URL rules and the settings singleton

This commit is contained in:
2026-10-27 10:34:39 +01:00
parent fb9590f099
commit ce60c8a1ee
20 changed files with 1412 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{{- if .Data.Staging -}}
<div class="summer-callout summer-callout--warning" role="status">
<p class="summer-callout__title">{{ trans "golem15.seo::lang.robots.staging_title" }}</p>
<p class="summer-callout__text">{{ trans "golem15.seo::lang.status.staging" }}</p>
</div>
{{- end -}}

View File

@@ -0,0 +1,19 @@
# ===================================
# Form Behavior Config
# ===================================
#
# The SEO settings singleton (D-104), linked from the SEO settings tile.
# The plugin's form extension adds one tab per content type after General.
name: golem15.seo::lang.settings.label
form: ~/plugins/golem15/seo/models/settings/fields.yaml
modelClass: Golem15\SEO\Models\Settings
defaultRedirect: system/settings
update:
redirect: golem15/seo/settings
redirectClose: system/settings
messages:
update: golem15.seo::lang.settings.label
saved: backend::lang.messages.form.saved