From d44ff04a8629dba9440897b751027e1f68880fcb Mon Sep 17 00:00:00 2001 From: Johan von Forstner Date: Wed, 31 Jan 2024 20:57:31 +0100 Subject: [PATCH] metadata: swap name and alternateName to see if this helps Google Search results --- _includes/head.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_includes/head.html b/_includes/head.html index 27165d1..5b30daf 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -37,9 +37,13 @@ { "@context" : "https://schema.org", "@type" : "WebSite", - "name" : "{% t site_title %}", "url" : "{{ site.url }}{{ site.baseurl_root }}/", + {% comment %} + "name" : "{% t site_title %}", "alternateName": "{{ site.url | replace: 'https://', '' | replace: 'http://', '' }}" + {% endcomment %} + "name" : "{{ site.url | replace: 'https://', '' | replace: 'http://', '' }}", + "alternateName": "{% t site_title %}" } {%- endif -%} \ No newline at end of file