fix: replace .Site.BaseURL
by recommended alternatives (#761)
This commit is contained in:
parent
e11f0c891c
commit
eae99409b7
7 changed files with 23 additions and 11 deletions
|
@ -5,7 +5,7 @@
|
|||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": {{ .Site.Title }},
|
||||
"url": {{ .Site.BaseURL }},
|
||||
"url": {{ .Site.Home.Permalink }},
|
||||
{{- with partial "utils/description" . }}
|
||||
"description": "{{ . | plainify | htmlUnescape | chomp }}",
|
||||
{{- end }}
|
||||
|
@ -57,7 +57,7 @@
|
|||
"publisher":{
|
||||
"@type":"Organization",
|
||||
"name": {{ .Site.Title }},
|
||||
"url": {{ .Site.BaseURL }},
|
||||
"url": {{ .Site.Home.Permalink }},
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": {{ (default "brand.svg" .Site.Params.logo) | absURL }},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue