{"id":15462675,"url":"https://github.com/devidw/eta-slots-plugin","last_synced_at":"2025-03-28T11:20:20.873Z","repository":{"id":237451177,"uuid":"634924618","full_name":"devidw/eta-slots-plugin","owner":"devidw","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-01T15:02:48.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T21:04:24.040Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devidw.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-05-01T15:02:46.000Z","updated_at":"2023-05-17T06:32:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf110645-2be9-43e4-8721-1403af63b492","html_url":"https://github.com/devidw/eta-slots-plugin","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"131ef3f12c4ef94361723e76b02c8d2f77d895b2"},"previous_names":["devidw/eta-slots-plugin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Feta-slots-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Feta-slots-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Feta-slots-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Feta-slots-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devidw","download_url":"https://codeload.github.com/devidw/eta-slots-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017725,"owners_count":20710240,"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-02T00:03:19.177Z","updated_at":"2025-03-28T11:20:20.854Z","avatar_url":"https://github.com/devidw.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eta slots plugin\n\nall credits go to [alexkar598](https://github.com/alexkar598), [@see](https://github.com/eta-dev/eta/discussions/224#discussioncomment-5748686)\n\n```console\npnpm add eta-slots-plugin\n```\n\n```ts\nimport * as eta from \"eta\"\nimport etaSlotsPlugin from \"eta-slots-plugin\"\n\neta.configure({\n    plugins: [etaSlotsPlugin],\n})\n```\n\n_layout.eta_\n```eta\n\u003c% slot(\"some-slot\") ${ %\u003e\n  some default content\n\u003c% } %\u003e\n```\n\n_child.eta_\n```eta\n\u003c% layout(\"layout\") %\u003e\n\n\u003c% content(\"some-slot\") ${ %\u003e\n  some slot content\n\u003c% } %\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Feta-slots-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevidw%2Feta-slots-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Feta-slots-plugin/lists"}