{"id":15462641,"url":"https://github.com/devidw/hugo-theme-component-oembed","last_synced_at":"2025-08-12T12:39:58.922Z","repository":{"id":105128512,"uuid":"436397936","full_name":"devidw/hugo-theme-component-oembed","owner":"devidw","description":"Static oEmbed endpoint for Hugo websites","archived":false,"fork":false,"pushed_at":"2022-03-13T18:58:53.000Z","size":17,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-18T21:04:20.946Z","etag":null,"topics":["endpoint","hugo","hugo-theme-component","json","oembed","static"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-08T21:32:31.000Z","updated_at":"2022-08-15T03:41:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e037080f-c7a5-42d3-a18f-40167580c6f3","html_url":"https://github.com/devidw/hugo-theme-component-oembed","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"c6dc9d55edac01fcaaa4c2d4019c17ce3c5ddb26"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devidw/hugo-theme-component-oembed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-oembed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-oembed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-oembed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-oembed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devidw","download_url":"https://codeload.github.com/devidw/hugo-theme-component-oembed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fhugo-theme-component-oembed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270063439,"owners_count":24520764,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["endpoint","hugo","hugo-theme-component","json","oembed","static"],"created_at":"2024-10-02T00:02:58.440Z","updated_at":"2025-08-12T12:39:58.883Z","avatar_url":"https://github.com/devidw.png","language":"HTML","readme":"= Hugo Theme Component: oEmbed\nDavid Wolf \u003cdavid@wolf.gdn\u003e\n\nAdd a static oEmbed endpoint to your hugo website by generating a oEmbed file for each of your posts.\n\nCurrently supported oEmbed content types:\n\n* `link`\n\n== Installation\nAdd the theme component as submodule to your hugo prject:\n\n[source,zsh]\n----\ngit submodule add https://github.com/devidw/hugo-theme-component-oembed.git ./themes/hugo-theme-component-oembed\n----\n\n// == Configuration\n// …\n\n== Setup\nSpecify the output format in your `config.yaml` file:\n\n[source,yaml]\n----\noutputFormats:\n  # hugo-theme-component-oembed\n  oembed:\n    name: \"oembed\"\n    baseName: \"oembed\"\n    mediaType: \"application/json\"\n    isPlainText: true\n----\n\nAlso add the output format to the `outputs` array:\n\n[source,yaml]\n----\noutputs:\n  home: \n    # …\n    - OEMBED # hugo-theme-component-oembed\n  page:\n    # …\n    - OEMBED # hugo-theme-component-oembed\n----\n\nInclude the `oembed.html` partial in the `\u003chead\u003e` of you themes template file, for example `baseof.html`:\n\n[source,go]\n----\n{{/* hugo-theme-component-oembed */}}\n{{ partial \"oembed.html\" . }}\n----\n\nThis will create a link like the following on page build:\n\n[source, html]\n----\n\u003clink rel=\"alternate\" \n      type=\"application/json+oembed\" \n      href=\"https://example.com/oembed.json\"\u003e\n----\n\n\n== Usage\nExlude a page from the oEmbed output:\n\n[source,yaml]\n----\nnotoembed: true\n----\n\n\n== Resources\n* https://oembed.com[oEmbed]\n* https://halfelf.org/2021/oembedding-hugo/[oEmbedding Hugo]\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fhugo-theme-component-oembed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevidw%2Fhugo-theme-component-oembed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fhugo-theme-component-oembed/lists"}