Share a link to your site’s schema.org structured data test results, data type (e.g. Microdata, RDFa or JSON-LD) and include a screenshot of your primary collection(s) and a link to your source for others who’re looking for examples to guide them.
/cc @TotallyInformation @growdigital
Results: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fhackcabin.com
Flavor: Microdata
Source: https://git.habd.as/comfusion/after-dark
1 Like
Front Page:
https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fit.knightnet.org.uk
Example content page:
https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fit.knightnet.org.uk%2Fkb%2Fhugo%2Fget-latest-version%2F
Not claiming the structure is correct. There seems to be massive confusion about what a “correct” structure might look like.
Code is here:
{{/* schema.org microdata: blog */}}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Blog",
"url": "{{ $.Site.BaseURL }}"
}
</script>
{{/* schema.org microdata: person (site owner) */}}
{{/* OPTIONAL: add the actual json to /data/siteownerld.json */}}
<script type="application/ld+json">
{{- with (readDir "data") -}}
{{- range $f := where . "Name" "eq" "siteauthorld.json" -}}
{{- $pf := (printf "%s%s" "data/" $f.Name) -}}
{{- readFile $pf | safeHTML -}}
{{- end -}}
{{- end -}}
</script>
{{/* schema.org microdata: organisation (site owner) */}}
{{/* OPTIONAL: Add the actual json to /data/siteorgld.json */}}
This file has been truncated. show original
2 Likes