Skip to content

Semantic Web for Hugo through Schema.org JSON-LD with Google Rich Results support.

License

Notifications You must be signed in to change notification settings

yelosan/hugo-semantic-web

Repository files navigation

Semantic Web for Hugo

DOI

By using JSON-LD and Schema.org vocabulary, Semantic Web for Hugo adds structured data and linked data into a Hugo-powered website. Through it, search engines can easily read the data and establish relationships between objects enabling them to intelligently store information about a website and use it to help display the website in search results.

Repository, suggestions, issues, pull requests

We use Codeberg for development, suggestions, issues, and pull requests.

Mirrors

Note: These mirrors should not be used as a Hugo module as it will produce a GoLang module error. The go.mod ID is set to codeberg.org/yelosan/hugo-semantic-web which should match the URL Hugo/GoLang is fetching it from.

Usage

You can download the latest release or add this as a Hugo Module. More information is available in the official website.

Features

These are the supported types:

TODO

The following are on the table:

HowTo

  • HowTo - Schema.org Type)
    • Thing > CreativeWork > HowTo
  • HowToSection (Schema.org)
    • Thing > CreativeWork > HowToSection
    • Thing > Intangible > ItemList > HowToSection
    • Thing > Intangible > ListItem > HowToSection
  • HowToTip (Schema.org)
    • Thing > CreativeWork > HowToTip
    • Thing > Intangible > ListItem > HowToTip
  • HowToStep (Schema.org)
    • Thing > CreativeWork > HowToStep
    • Thing > Intangible > ItemList > HowToStep
    • Thing > Intangible > ListItem > HowToStep
  • ListItem (Schema.org)
    • Thing > Intangible > ListItem

Reviews

  • Review (Schema.org Type)
    • Thing > CreativeWork > Review
  • CriticReview (Schema.org Type)
    • Thing > CreativeWork > Review > CriticReview
  • TVSeason (Schema.org Type)
    • Thing > CreativeWork > TVSeason
    • Thing > CreativeWork > CreativeWorkSeason > TVSeason
  • TVSeries (Schema.org Type)
    • Thing > CreativeWork > TVSeries
    • Thing > CreativeWork > CreativeWorkSeries > TVSeries
    • Thing > Intangible > Series > CreativeWorkSeries > TVSeries
  • Movie (Schema.org Type)
    • Thing > CreativeWork > Movie
  • Book (Schema.org Type)
    • Thing > CreativeWork > Book

Other types

  • ItemList (Schema.org)
    • Thing > Intangible > ItemList
  • BreadcrumbList (Schema.org Type)
    • Thing > Intangible > ItemList > BreadcrumbList

Under consideration

Food and drinks

  • Menu (Schema.org Type)
    • Thing > CreativeWork > Menu
  • MenuItem (Schema.org Type)
    • Thing > Intangible > MenuItem
  • Recipe (Schema.org)
    • Thing > CreativeWork > HowTo > Recipe
  • NutritionInformation (Schema.org)
    • Thing > Intangible > StructuredValue > NutritionInformation

FAQ types

  • FAQPage (Schema.org)
    • Thing > CreativeWork > WebPage > FAQPage
  • QAPage (Schema.org)
    • Thing > CreativeWork > WebPage > QAPage

Attributions

Based on / forked from: