feat: SEO field types and the complete SEO tab

This commit is contained in:
2026-10-27 11:04:03 +01:00
parent deebd9aa65
commit 93ddbcc9ef
26 changed files with 1827 additions and 50 deletions

View File

@@ -0,0 +1,24 @@
{{- if .Data.Staging -}}
<div class="summer-callout summer-callout--warning" role="status">
<p class="summer-callout__text">{{ .Data.StagingText }}</p>
</div>
{{- end -}}
{{- range .Data.Locales -}}
<section>
<h4>{{ .Heading }}</h4>
{{- if .NoURL -}}
<p>{{ .NoURLText }}</p>
{{- else -}}
<div class="summer-table-wrap">
<table class="summer-table">
<thead><tr><th>{{ $.Data.PropertyLabel }}</th><th>{{ $.Data.ValueLabel }}</th><th>{{ $.Data.SourceLabel }}</th></tr></thead>
<tbody>
{{- range .Rows -}}
<tr><td>{{ .Property }}</td><td>{{ if .Mono }}<code>{{ .Value }}</code>{{ else }}{{ .Value }}{{ end }}</td><td>{{ .Source }}</td></tr>
{{- end -}}
</tbody>
</table>
</div>
{{- end -}}
</section>
{{- end -}}

View File

@@ -0,0 +1,6 @@
{{- range .Data.Callouts -}}
<div class="summer-callout summer-callout--warning" role="status">
<p class="summer-callout__title">{{ .Title }}</p>
{{- if .Text }}<p class="summer-callout__text">{{ .Text }}</p>{{ end }}
</div>
{{- end -}}