Files
sm-seo-plugin/extension/_seo_effective.htm

25 lines
709 B
HTML

{{- 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 -}}