From 2544f6220a9e35e5b6123803189e84fbc0094fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBuralski?= Date: Fri, 3 Feb 2023 02:43:32 +0100 Subject: [PATCH] sync-changes --- _includes/head.html | 2 +- _includes/seo.html | 34 ++++++++++++++++++++++++++++++++-- _pages/search.html | 2 +- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 954bb37..3fe5ff3 100755 --- a/_includes/head.html +++ b/_includes/head.html @@ -22,7 +22,7 @@ /static_files --> {%- comment -%} - + {%- endcomment %} diff --git a/_includes/seo.html b/_includes/seo.html index 2686cbb..8a1a8ac 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -100,7 +100,7 @@ { {%- if author.type == "Organization" %} "@type": "Organization", - "@id": {{ '/' | absolute_url | append: '#organization' | jsonify }}, + "@id": "{{ '/' | absolute_url | append: '#organization' | jsonify }}, "name": {{ author.name | default: seo_tag.name | default: site.name | jsonify }}, "url": {{ author.url | jsonify }}, "location": { @@ -126,10 +126,40 @@ }, "query-input": "required name=search_term_string" }, + { + "@type": "Organization", + "@id": {{ '/' | absolute_url | append: '#organization' | jsonify }}, + "name": "zuralski.net Piotr Żuralski", + "url": "{% include ref-url.html ref='companys-data' locale=page.locale -%}", + "foundingDate": "2015-10-05", + "vatID": "PL5851426606", + "address": { + {% comment -%} + "@id": "{% include ref-url.html ref='companys-data' locale=page.locale -%}#organization-register-address", + {% endcomment -%} + "@type": "PostalAddress", + "streetAddress": "Powstania Kościuszkowskiego 1/2", + "postalCode": "80-288", + "addressLocality": "Gdańsk", + "addressRegion": "pomorskie", + "addressCountry": "PL" + }, + "deliveryAddress": { + "@type": "PostalAddress", + "streetAddress": "Bolesława Chrobrego 14/2", + "postalCode": "81-783", + "addressLocality": "Sopot", + "addressRegion": "pomorskie", + "addressCountry": "PL" + }, + "location": { + "@id": "{% include ref-url.html ref='companys-data' locale=page.locale -%}#organization-location" + } + }, { "@type": "WebSite", "@id": {{ '/' | absolute_url | append: '#website' | jsonify }}, - "url": {{ '/' | absolute_url | jsonify }}, + "url": "{% include ref-url.html ref='index' locale=page.locale -%}", "name": {{ site.title | jsonify }}, "publisher": { "@id": {%- if author.type == "Organization" %}{{ '/' | absolute_url | append: '#organization' | jsonify }}{% else %}{{ '/' | absolute_url | append: '#person' | jsonify }}{% endif %} diff --git a/_pages/search.html b/_pages/search.html index f5e76bc..e522fc9 100644 --- a/_pages/search.html +++ b/_pages/search.html @@ -1,7 +1,7 @@ --- published: true permalink: /_search.html -ref: search +ref: _search search: exclude sitemap: false ---