{"repo":"osteele/liquid","free":true,"listed":false,"github":"https://github.com/osteele/liquid","clone":"git clone https://github.com/osteele/liquid.git","description":"A Liquid template engine in Go","language":"Go","stars":353,"topics":["liquid","liquid-templating-engine","template-engine","golang","golang-package"],"license":"MIT","category":"dev-tools","readme_excerpt":"Liquid templates for Go [![go badge][go-svg]][go-url] [![Golangci-lint badge][golangci-lint-svg]][golangci-lint-url] [![Go Report Card badge][go-report-card-svg]][go-report-card-url] [![Go Doc][godoc-svg]][godoc-url] [![MIT License][license-svg]][license-url] liquid is a pure Go implementation of Shopify Liquid. It was developed for Gojekyll, a Go port of the Jekyll static-site generator. Installation Usage See the [API documentation][godoc-url] for additional examples. Jekyll compatibility Optional Jekyll extensions support syntax that is not part of Shopify Liquid. To enable Jekyll compatibility mode: Jekyll mode allows dot notation in assignment targets, such as {% assign page.canonical url = \"/about/\" %} . It creates missing intermediate maps. Nested assignments use copy-on-write and do not modify maps supplied by the caller. Example: Jekyll extensions are disabled by default. Command-line tool go install github.com/osteele/liquid/cmd/liquid@latest installs a command-line liquid executable for testing templates and preparing bug reports. Security Read the security policy before rendering untrusted templates. The engine has no built-in CPU, memory, iteration, or output limits. Auto-escaping is opt-in. The include and render tags can read through the configured template store. Registered extensions and callable bound values execute application Go code. Use FRender to limit output and check cooperative cancellation. Use process or container isolation when you need enforceabl","default_branch":null,"files":null,"tree":[],"storefront":"/r/osteele","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/osteele/liquid/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}