{"id":15462569,"url":"https://github.com/devidw/hugo-theme-component-structured-data","last_synced_at":"2025-10-03T12:37:40.142Z","repository":{"id":47279162,"uuid":"335894512","full_name":"devidw/hugo-theme-component-structured-data","owner":"devidw","description":"Hugo Theme Component for Structured Data","archived":false,"fork":false,"pushed_at":"2021-12-29T17:22:05.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-18T20:45:04.727Z","etag":null,"topics":["hugo","hugo-theme","hugo-theme-component","jsonld","seo","seo-optimization","seo-tools","static","structured-data"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devidw.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-04T08:55:03.000Z","updated_at":"2022-11-03T10:00:46.000Z","dependencies_parsed_at":"2022-09-03T12:22:52.948Z","dependency_job_id":null,"html_url":"https://github.com/devidw/hugo-theme-component-structured-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-structured-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-structured-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-structured-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-structured-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devidw","download_url":"https://codeload.github.com/devidw/hugo-theme-component-structured-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246014735,"owners_count":20709866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hugo","hugo-theme","hugo-theme-component","jsonld","seo","seo-optimization","seo-tools","static","structured-data"],"created_at":"2024-10-02T00:02:24.730Z","updated_at":"2025-10-03T12:37:35.092Z","avatar_url":"https://github.com/devidw.png","language":"HTML","readme":"= Hugo Theme Component for Structured Data\n\nYou can use the Structured Data Theme Component on your own theme by following the instructions below. Also make sure to check out the https://gohugo.io/hugo-modules/theme-components/[docs about Theme Components].\n\n.Currently available schema types include:\n* BlogPosting\n\n== Installation\n=== 1. Clone this theme component to your `/themes` directory\n[source, sh]\n----\ngit submodule add https://github.com/devidw/hugo-theme-component-structured-data ./themes/hugo-theme-component-structured-data\n----\n\n=== 2. Add this theme component to your list of themes inside your config-file\n[source, toml]\n----\ntheme = [\"…\", \"hugo-theme-component-structured-data\", \"…\"]\n----\n\n=== 3. Add the following statement in the layout file where your `\u003chead\u003e\u003c/head\u003e` lives:\n[source, go]\n----\n{{ partial \"structureddata/include.html\" . }}\n----\n\n// NOTE: When using the https://hugoseotheme.com[Hugo Theme for perfect SEO] this will be done automatically for you so there's really no more configuration needed here.\n\n\n== Usage\nAdd `schemas` key to your content frontmatter and provide an array of content types as value, e.g. `[BlogPosting]`.\n\n.Yaml example\n[source, yaml]\n----\nschemas: [BlogPosting]\n----\n\n=== Configuration\n|===\n| Required\n\na|\n* `BaseURL`\n* `LanguageCode`\n|===\n\n\n=== Frontmatter\n|===\n| Required | Optional\n\na|\n* `date`\n* `title`\n\na|\n* `author`\n* `description`\n* `lastmod`\n* `lang`\n|===\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fhugo-theme-component-structured-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevidw%2Fhugo-theme-component-structured-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fhugo-theme-component-structured-data/lists"}