Skip to content

Commit

Permalink
metadata: swap name and alternateName to see if this helps Google Sea…
Browse files Browse the repository at this point in the history
…rch results
  • Loading branch information
johan12345 committed Jan 31, 2024
1 parent 77ec4a7 commit d44ff04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}"
}
</script>
{%- endif -%}

0 comments on commit d44ff04

Please sign in to comment.