Update schema_json.html
This commit is contained in:
parent
a1cb044262
commit
6f5b3eb1d6
@ -4,7 +4,7 @@
|
|||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "{{- ( site.Params.schema.publisherType | default "Organization") | title -}}",
|
"@type": "{{- ( site.Params.schema.publisherType | default "Organization") | title -}}",
|
||||||
"name": {{ site.Title }},
|
"name": {{ site.Title }},
|
||||||
"url": {{ site.BaseURL }},
|
"url": {{ site.Home.Permalink }},
|
||||||
"description": {{ site.Params.description | plainify | truncate 180 | safeHTML }},
|
"description": {{ site.Params.description | plainify | truncate 180 | safeHTML }},
|
||||||
"thumbnailUrl": {{ site.Params.assets.favicon | default "favicon.ico" | absURL }},
|
"thumbnailUrl": {{ site.Params.assets.favicon | default "favicon.ico" | absURL }},
|
||||||
"sameAs": [
|
"sameAs": [
|
||||||
@ -18,7 +18,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{{- else if (or .IsPage .IsSection) }}
|
{{- else if (or .IsPage .IsSection) }}
|
||||||
{{/* BreadcrumbList */}}
|
{{/* BreadcrumbList */}}
|
||||||
{{- $url := replace .Parent.Permalink ( printf "%s" site.BaseURL) "" }}
|
{{- $url := replace .Parent.Permalink ( printf "%s" site.Home.Permalink) "" }}
|
||||||
{{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }}
|
{{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }}
|
||||||
{{- $bc_list := (split $lang_url "/")}}
|
{{- $bc_list := (split $lang_url "/")}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user