JasonYao / JasonYao.github.io

My personal site at jasonyao.com using Hugo
https://www.jasonyao.com
GNU General Public License v3.0
1 stars 0 forks source link

Adding opengraph support, semantic markup via schema.org, and semantic HTML #28

Closed JasonYao closed 3 years ago

JasonYao commented 3 years ago

FIxes #16

Fixes #1

JasonYao commented 3 years ago

Current status

TODO

Images from rich snippet validator

Screen Shot 2021-03-23 at 9 44 09 PM Screen Shot 2021-03-23 at 9 44 19 PM Screen Shot 2021-03-23 at 9 44 26 PM
JasonYao commented 3 years ago

Fun fact, but it looks like google only supports a subset of the schema.org definitions- in particular, they support:

The types of structured data supported by Google include:

    Article
    Book
    Breadcrumb
    Carousel
    Course
    Critic Review
    Dataset
    EmployerAggregateRating
    Estimated Salary
    Event
    Fact Check
    FAQ
    Home Activities
    How-To
    Image License
    Job Posting
    Job Training
    Local Business
    Logo
    Movie
    Podcast
    Product
    Q&A
    Recipe
    Review Snippet
    Sitelinks Search Box
    Software App (beta)
    Speakable
    Subscription and Paywalled Content
    Video

Note that Person isn't on there, which is a.) surprising as hell, and b.) annoying as hell, since one of the goals is to try and see how I can get a bio page in google search, and not just the article stuff

JasonYao commented 3 years ago
JasonYao commented 3 years ago

Per https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fwww.jasonyao.com%2Fposts%2F2017%2F05%2F22%2Fa-canadian-existential-crisis-introduction%2F, it looks like opengraph stuff is already turned on

Screen Shot 2021-03-23 at 11 54 16 PM Screen Shot 2021-03-23 at 11 54 23 PM Screen Shot 2021-03-23 at 11 54 29 PM