{"id":16529247,"url":"https://github.com/cometkim/gatsby-plugin-dedupe-head","last_synced_at":"2025-03-21T09:31:48.185Z","repository":{"id":152686672,"uuid":"626816108","full_name":"cometkim/gatsby-plugin-dedupe-head","owner":"cometkim","description":"A GatsbyJS plugin to omit duplicated elements in the `\u003chead\u003e`","archived":false,"fork":false,"pushed_at":"2024-10-23T04:37:50.000Z","size":2634,"stargazers_count":1,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-23T11:12:13.221Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cometkim.png","metadata":{"files":{"readme":"README.md","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":"2023-04-12T08:08:30.000Z","updated_at":"2023-04-19T08:48:29.000Z","dependencies_parsed_at":"2023-09-26T20:03:07.912Z","dependency_job_id":"5d41ad43-a895-4794-83db-3e0377a968c4","html_url":"https://github.com/cometkim/gatsby-plugin-dedupe-head","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.4,"last_synced_commit":"4bf1f3e9c3c82e62cf5d32386b12dbd913066ece"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Fgatsby-plugin-dedupe-head","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Fgatsby-plugin-dedupe-head/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Fgatsby-plugin-dedupe-head/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Fgatsby-plugin-dedupe-head/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cometkim","download_url":"https://codeload.github.com/cometkim/gatsby-plugin-dedupe-head/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221813768,"owners_count":16884906,"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":[],"created_at":"2024-10-11T17:44:14.108Z","updated_at":"2024-10-28T09:46:51.878Z","avatar_url":"https://github.com/cometkim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-plugin-dedupe-head\n\n[![Version on NPM](https://img.shields.io/npm/v/gatsby-plugin-dedupe-head)](https://www.npmjs.com/package/gatsby-plugin-dedupe-head)\n[![MIT Licensed](https://img.shields.io/github/license/cometkim/gatsby-plugin-dedupe-head)](#license)\n\nA GatsbyJS plugin to omit duplicated elements in the `\u003chead\u003e`.\n\nThis plugin **only affects the rendered HTML content**, enough for SEO purpose.\n\n## List of properties to handle\n\nWhich tags will be de-duplicated:\n\n- `title`\n- `meta[name=description]`\n- `link[rel=canonical]`\n- `meta[property=og:type]`\n- `meta[property=og:url]`\n- `meta[property=og:title]`\n- `meta[property=og:description]`\n- `meta[property=og:determiner]`\n- `meta[property=og:locale]`\n- `meta[property=fb:app_id]`\n- `meta[name=twitter:*]`\n\nThis list cannot be customized yet. If you need other properties [please file an issue](https://github.com/cometkim/gatsby-plugin-dedupe-head/issues/new).\n\n## Usage\n\n```js\n{\n  plugins: [\n    // Place this to last as possible.\n    {\n      resolve: 'gatsby-plugin-dedupe-head',\n      options: {\n        strategy: 'pick_last', // default\n      },\n    },\n  ],\n}\n```\n\nYou can choose the dedupe strategy in `pick_first` or `pick_last`.\n\n- `pick_first`: Keep the first matched tag. Omit others.\n- `pick_last`: Keep the last matched tag. Omit others.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcometkim%2Fgatsby-plugin-dedupe-head","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcometkim%2Fgatsby-plugin-dedupe-head","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcometkim%2Fgatsby-plugin-dedupe-head/lists"}