{"id":15145122,"url":"https://github.com/zfett/jekyll-creative-commons-badge","last_synced_at":"2026-01-11T03:05:08.590Z","repository":{"id":247321386,"uuid":"825538383","full_name":"zfett/jekyll-creative-commons-badge","owner":"zfett","description":"A modular Jekyll include for displaying Creative Commons license badges.","archived":false,"fork":false,"pushed_at":"2024-07-09T03:43:24.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-26T11:09:32.854Z","etag":null,"topics":["badge","creative-commons","include","includes","jekyll"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/zfett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"zfett"}},"created_at":"2024-07-08T03:19:34.000Z","updated_at":"2024-07-09T03:41:45.000Z","dependencies_parsed_at":"2024-09-26T11:09:02.455Z","dependency_job_id":null,"html_url":"https://github.com/zfett/jekyll-creative-commons-badge","commit_stats":null,"previous_names":["zfett/jekyll-creative-commons-badge"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfett%2Fjekyll-creative-commons-badge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfett%2Fjekyll-creative-commons-badge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfett%2Fjekyll-creative-commons-badge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfett%2Fjekyll-creative-commons-badge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zfett","download_url":"https://codeload.github.com/zfett/jekyll-creative-commons-badge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867542,"owners_count":16555817,"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":["badge","creative-commons","include","includes","jekyll"],"created_at":"2024-09-26T11:08:59.073Z","updated_at":"2024-10-10T00:04:49.934Z","avatar_url":"https://github.com/zfett.png","language":"HTML","funding_links":["https://github.com/sponsors/zfett"],"categories":[],"sub_categories":[],"readme":"# jekyll-creative-commons-badge\nA modular Jekyll include for displaying Creative Commons license badges.\n\n## How to use\n- Place the `creative-commons.html` file in your Jekyll `_includes` folder.\n- Place either the `creative-commons.css` or the minified `creative-commons.min.css` stylesheets wherever you host your CSS files.\n- Import the CSS files wherever you plan on using the include, either before the closing `\u003c/head\u003e` tag or directly before the include.\n- Implement the badge by placing the include where you want to use it. (ex. `{% include creative-commons.html %}`)\n\nThe badge icons are provided courtesy of [Creative Commons](https://creativecommons.org/share-your-work/). No external imports or local storage of image files are required: the SVG files were converted to base64 encoded data URIs and are used in the CSS files directly.\n\n### Include parameters\nThe badge include has two parameters: `terms` and `url`. The `terms` parameter is required and helps define the badges to use and the optional `url` parameter should be a link to the terms of the license.\n\nThe `terms` parameter has the following available strings:\n\n- `by`: Attribution\n- `nc`: Non-commercial\n- `sa`: Share-alike\n- `nd`: No derivitives\n- `zero`: CC0 - public domain\n\nTo use these strings for the `terms` parameter, separate them by a space (eg. `terms=\"by nc sa\"`)\n\n#### Examples\nDisplay a badge for the Creative Commons BY-NC-SA license:\n```liquid\n{% include creative-commons.html terms=\"by nc sa\" url=\"https://creativecommons.org/licenses/by-nc-sa/4.0/\" %}\n```\n... or the CC0 (public domain) license:\n```liquid\n{% include creative-commons.html terms=\"zero\" url=\"https://creativecommons.org/publicdomain/zero/1.0/\" %}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfett%2Fjekyll-creative-commons-badge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzfett%2Fjekyll-creative-commons-badge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfett%2Fjekyll-creative-commons-badge/lists"}