{"id":22353044,"url":"https://github.com/esskar/handlebars-contentprovider-filesystem","last_synced_at":"2026-01-06T02:51:28.643Z","repository":{"id":136980969,"uuid":"90579834","full_name":"esskar/handlebars-contentprovider-filesystem","owner":"esskar","description":"***DEPRECATED*** A filesystem based template content provider for Handlebars for .NET","archived":false,"fork":false,"pushed_at":"2017-05-09T05:27:45.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T07:08:49.579Z","etag":null,"topics":[],"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/esskar.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":"2017-05-08T02:48:38.000Z","updated_at":"2019-04-25T06:39:37.000Z","dependencies_parsed_at":"2023-03-22T12:17:31.912Z","dependency_job_id":null,"html_url":"https://github.com/esskar/handlebars-contentprovider-filesystem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/esskar/handlebars-contentprovider-filesystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esskar%2Fhandlebars-contentprovider-filesystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esskar%2Fhandlebars-contentprovider-filesystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esskar%2Fhandlebars-contentprovider-filesystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esskar%2Fhandlebars-contentprovider-filesystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esskar","download_url":"https://codeload.github.com/esskar/handlebars-contentprovider-filesystem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esskar%2Fhandlebars-contentprovider-filesystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28220892,"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":"2026-01-06T02:00:07.049Z","response_time":56,"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":[],"created_at":"2024-12-04T12:32:37.405Z","updated_at":"2026-01-06T02:51:28.627Z","avatar_url":"https://github.com/esskar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Handlebars.ContentProvider.FileSystem [![Build Status](https://travis-ci.org/esskar/handlebars-contentprovider-filesystem.svg?branch=master)](https://travis-ci.org/esskar/handlebars-core)\n\nA file system based template content provider for  [Handlebars.Core](https://github.com/esskar/handlebars-core).\n\n## Install\n\n    nuget install Handlebars.ContentProvider.FileSystem\n\n## Usage\n```\nvar engine = new HandlebarsEngine();\nengine.Configuration.TemplateContentProvider = new FileSystemTemplateContentProvider();\n\nvar template = engine.CompileView(\"foo.hbs\");\n```\n\nTo provide backward compatibility to the ViewEngine concept of the [original Handlebars.Net library](https://github.com/rexm/Handlebars.Net),\nyou need to set `PartialsSubPath`:\n\n```\nvar fileSystemTemplateContentProvider = new FileSystemTemplateContentProvider();\nfileSystemTemplateContentProvider.PartialsSubPath = \"partials\";\n```\n\nThis will allow you to keep your views to be in the /Views folder like so:\n\n```\nViews\\layout.hbs                |\u003c--shared as in \\Views            \nViews\\partials\\somepartial.hbs   \u003c--shared as in \\Views\\partials\nViews\\{Controller}\\{Action}.hbs \nViews\\{Controller}\\{Action}\\partials\\somepartial.hbs \n```\n\nBut it will also find partials if there are at the same level as the as the actual template file:\n\n```\nViews\\layout.hbs           \nViews\\someotherpartial.hbs\n```\n\n## Contributing\n\nPull requests are welcome! The guidelines are pretty straightforward:\n- Only add capabilities that are already in the Mustache / Handlebars specs\n- Avoid dependencies outside of the .NET BCL\n- Maintain cross-platform compatibility (.NET/Mono; Windows/OSX/Linux/etc)\n- Follow the established code format","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesskar%2Fhandlebars-contentprovider-filesystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesskar%2Fhandlebars-contentprovider-filesystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesskar%2Fhandlebars-contentprovider-filesystem/lists"}