feat: SEO field types and the complete SEO tab
This commit is contained in:
24
controllers/rules/_seo_effective.htm
Normal file
24
controllers/rules/_seo_effective.htm
Normal 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 -}}
|
||||
6
controllers/rules/_seo_status.htm
Normal file
6
controllers/rules/_seo_status.htm
Normal 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 -}}
|
||||
Reference in New Issue
Block a user