Switch to RelPermalink to support http/https sites

This commit is contained in:
2024-02-19 14:59:01 +00:00
parent c587776382
commit 656a653e0d
11 changed files with 17 additions and 13 deletions

View File

@@ -10,7 +10,8 @@
<b>Socials:</b>
{{ $menu_items := add (len .Site.Params.social_links) -1 }}
{{- range $i, $e := .Site.Params.social_links }}
<a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ .name | humanize }}</a>{{ if lt $i $menu_items }} / {{ end }}
<a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ .name | humanize
}}</a>{{ if lt $i $menu_items }} / {{ end }}
{{- end }}
</p>
@@ -19,4 +20,9 @@
href="https://www.studiocosmos.co.uk" target="_blank" rel="noopener">COSMOS</a><br>
{{ .Site.Title }} is a trading name of {{ .Site.Params.Company }}, registered in England & Wales No. <a
href="https://find-and-update.company-information.service.gov.uk/company/{{ .Site.Params.company_number }}">{{
.Site.Params.company_number }}</a></p>
.Site.Params.company_number }}</a></p>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401"
alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
</p>