{"id":18937810,"url":"https://github.com/oakstudios/jekyll-siteleaf","last_synced_at":"2025-06-11T09:03:12.467Z","repository":{"id":33984616,"uuid":"37735849","full_name":"oakstudios/jekyll-siteleaf","owner":"oakstudios","description":"A filesystem-less Jekyll reader","archived":false,"fork":false,"pushed_at":"2020-10-14T22:00:39.000Z","size":59,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T01:05:52.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oakstudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-19T17:23:23.000Z","updated_at":"2020-10-14T22:00:13.000Z","dependencies_parsed_at":"2022-07-13T21:44:34.148Z","dependency_job_id":null,"html_url":"https://github.com/oakstudios/jekyll-siteleaf","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakstudios%2Fjekyll-siteleaf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakstudios%2Fjekyll-siteleaf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakstudios%2Fjekyll-siteleaf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakstudios%2Fjekyll-siteleaf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oakstudios","download_url":"https://codeload.github.com/oakstudios/jekyll-siteleaf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129355,"owners_count":21217340,"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-11-08T12:12:32.039Z","updated_at":"2025-04-15T18:32:31.656Z","avatar_url":"https://github.com/oakstudios.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jekyll-siteleaf\n\nA poorly documented series of monkey patches and refinements to Jekyll that removes the \nfilesystem dependency from the Jekyll read process. There's really nothing specific to\n[Siteleaf](http://v2.siteleaf.com) about it, but it does enable you to read from a database\nfor instance, which we find handy.\n\n\n### Basic Usage\n\nThe main class is `Jekyll::Siteleaf::Reader` which is a drop in replacement for `Jekyll::Reader`. \n\nInitialize the new reader with a `Jekyll::Site` and a \"store\", which should be a hash like object \nthat can respond to `#fetch` and `#keys`.\n\n~~~ ruby\nrequire 'jekyll/siteleaf'\n\njekyll_site = Jekyll::Site.new(Jekyll.configuration)\njekyll_site.reader = Jekyll::Siteleaf::Reader.new(jekyll_site, store)\n~~~\n\nIf your store was a literal hash it would look like this:\n\n~~~ ruby\nstore = {\n  'index.md' =\u003e ['Welcome to my site', { 'title' =\u003e 'Home' }],\n  'about.md' =\u003e ['This is what I’m about', { 'title' =\u003e 'About' }]\n}\n~~~\n\nWhere the key is a \"filename\" and the value is an array of content and frontmatter.\n\n\n### Running tests\n\n```\nbundle exec rake test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakstudios%2Fjekyll-siteleaf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foakstudios%2Fjekyll-siteleaf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakstudios%2Fjekyll-siteleaf/lists"}