{"id":19320339,"url":"https://github.com/jlyonsmith/monoliquid","last_synced_at":"2026-05-30T16:31:17.161Z","repository":{"id":143313345,"uuid":"6178852","full_name":"jlyonsmith/MonoLiquid","owner":"jlyonsmith","description":"Mono port of the DotLiquid library.","archived":false,"fork":false,"pushed_at":"2012-10-11T20:13:03.000Z","size":183,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T01:12:37.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlyonsmith.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-11T18:41:55.000Z","updated_at":"2014-12-17T01:53:42.000Z","dependencies_parsed_at":"2023-03-23T15:50:14.919Z","dependency_job_id":null,"html_url":"https://github.com/jlyonsmith/MonoLiquid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jlyonsmith/MonoLiquid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2FMonoLiquid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2FMonoLiquid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2FMonoLiquid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2FMonoLiquid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlyonsmith","download_url":"https://codeload.github.com/jlyonsmith/MonoLiquid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2FMonoLiquid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33700863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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-11-10T01:28:21.720Z","updated_at":"2026-05-30T16:31:17.145Z","avatar_url":"https://github.com/jlyonsmith.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DotLiquid\n\n### What is this?\n\nDotLiquid is a .NET 3.5 port of the popular [Ruby Liquid templating language](http://www.liquidmarkup.org). It is a separate project that aims to retain the same template syntax as the original, while using .NET coding conventions where possible.\n\nFor more information about the original Liquid project, see \u003chttp://www.liquidmarkup.org\u003e.\n\n### Quick start\n\n1. Download the latest release from the [downloads page](http://github.com/formosatek/dotliquid/downloads).\n   The zip file contains DotLiquid.dll, which is the only one you need.\n2. Read the [wiki](http://github.com/formosatek/dotliquid/wiki) for information on writing and using\n   DotLiquid templates.\n\n### Why should I use DotLiquid?\n\n* You want to allow your users to edit their own page templates, but want to ensure they don't run insecure code.\n* You want to render templates directly from the database\n* You want a template engine for emails\n\n### What does it look like?\n\n\t\u003cul id=\"products\"\u003e\n\t\t{% for product in products %}\n\t\t\t\u003cli\u003e\n\t\t\t\t\u003ch2\u003e{{product.name}}\u003c/h2\u003e\n\t\t\t\tOnly {{product.price | price }}\n\n\t\t\t\t{{product.description | prettyprint | paragraph }}\n\t\t\t\u003c/li\u003e\n\t\t{% endfor %}\n\t\u003c/ul\u003e\n\n### How to use DotLiquid\n\nDotLiquid supports a very simple API based around the DotLiquid.Template class. Generally, you can read the contents of a file into a template, and then render the template by passing it parameters in the form of a `Hash` object. There are several ways you can construct a `Hash` object, including from a Dictionary, or using the `Hash.FromAnonymousObject` method.\n\n\tTemplate template = Template.Parse(\"hi {{name}}\"); // Parses and compiles the template\n\ttemplate.Render(Hash.FromAnonymousObject(new { name = \"tobi\" })); // =\u003e \"hi tobi\" ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlyonsmith%2Fmonoliquid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlyonsmith%2Fmonoliquid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlyonsmith%2Fmonoliquid/lists"}