Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
Post image 11
1 / 11
275

JSON-LD Explained for Personal Websites | Ethan Hawksley

Hacker News·3 months ago
#lPJkrB8k
Reading 0:00
15s threshold

JSON-LD, also known as JSON Linked Data, is a format for adding structured data to webpages. It can aid web crawlers in understanding the semantic structure of your site, qualifying you for richer link previews, and even potentially improving your search ranking. It’s been 4 months since my first post where I described building this site, and Wakatime estimates I’ve spent ~100 hours coding now, not including time spent researching and testing. Since then, this site has been receiving plenty of polish, including the addition of JSON-LD on each page. JSON-LD Fundamentals To add JSON-LD to a page, add the following somewhere in your <head> section: <script type= "application/ld+json" > { "@context" : "https://schema.org" , "@graph" : [ { "@type" : "WebSite" , "@id" : "https://hawksley.dev/#website" , "url" : "https://hawksley.dev/" , "name" : "Ethan Hawksley" }, // Insert more nodes here. ] } </script> Let’s break down what each part does.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More