pongo2 - Django-syntax like template-engine for Go

  •        7

pongo2 is the successor of pongo, a Django-syntax like templating-language.Please use the issue tracker if you're encountering any problems with pongo2 or if you need help with implementing tags or filters (create a ticket!). If possible, please use playground to create a short test case on what's wrong and include the link to the snippet in your issue.

https://www.florian-schlachter.de/?tag=pongo2
https://github.com/flosch/pongo2

Tags
Implementation
License
Platform

   




Related Projects

pongo2 - Package pongo2 is a middleware that provides pongo2 template engine support for Macaron.


Middleware pongo2 is a pongo2.v3 template engine support for Macaron.This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.

Algernon - Pure Go web server with built-in Lua, Markdown, HyperApp and Pongo2 support


Web server with built-in support for HTTP/2, Lua, Markdown, Pongo2, HyperApp, Amber, Sass(SCSS), GCSS, JSX, BoltDB, Redis, PostgreSQL, MariaDB/MySQL, rate limiting, graceful shutdown, plugins, users and permissions. Uses no external libraries, only pure Go.

pongo - A template engine which implements a Django-template-like syntax.


I deactivated the issue tracker and wiki pages for pongo. pongo won't receive bugfixes anymore. Please consider using the successor pongo2 instead. You can find more information and a migration tutorial on my website.pongo is a well-tested template engine which implements a Django-template-like syntax.

jigo - an attempt at a jinja2 implementation in go


Jigo is a Jinja2-like template language for Go. It is in pre-alpha stages and not yet ready for use much less production. Any documentation you see here is subject to change. Jigo's name is also subject to change.The goal of jigo is to create a template system which is powerful, flexible, and familiar. The Django template syntax has inspired Jinja2, Twig in php, Liquid in Ruby, Jinja-JS in JavaScript, and indeed Pongo2 in Go.

pongo2-addons - Official filter and tag addons for pongo2


Official filter and tag add-ons for pongo2. Since this package uses 3rd-party-libraries, it's in its own package.Install via go get -u github.com/flosch/pongo2-addons. All dependencies will be automatically fetched and installed.



ace - HTML template engine for Go


Ace is an HTML template engine for Go. This is inspired by Slim and Jade. This is a refinement of Gold.Ace fully utilizes the strength of the html/template package. You can embed actions of the template package in Ace templates. Ace also uses nested template definitions of the template package and Ace templates can pass pipelines (parameters) to other templates which they include.

ego - An ERB-style templating language for Go.


Ego is an ERb style templating language for Go. It works by transpiling templates into pure Go and including them at compile time. These templates are light wrappers around the Go language itself.Then run ego on a directory. Recursively traverse the directory structure and compile all .ego files.

p2cli - pongo2 cli - like the j2cli package in python, but compiles to self-contained go executables


A command line tool for rendering pongo2 (jinja2) templates to stdout.The rendering library is pongo2.

hero - A handy, fast and powerful go template engine.


Hero is a handy, fast and powerful go template engine, which pre-compiles the html templates to go code. It has been used in production environment in bthub.io.Hero is the fastest and least-memory used among currently known template engines in the benchmark. The data of chart comes from https://github.com/SlinSo/goTemplateBenchmark. You can find more details and benchmarks from that project.

hermes - Golang package that generates clean, responsive HTML e-mails for sending transactional mail


Hermes is the Go port of the great mailgen engine for Node.js. Check their work, it's awesome! It's a package that generates clean, responsive HTML e-mails for sending transactional e-mails (welcome e-mails, reset password e-mails, receipt e-mails and so on), and associated plain text fallback.Theme templates will be embedded in your application binary. If you want to use external templates (for configuration), use your own theme by implementing hermes.Theme interface with code searching for your files.

dtl - Django Template Language: A full-featured port of the Django template engine to Erlang.


Django Template Language: A full-featured port of the Django template engine to Erlang.

damsel - Package damsel provides html outlining via css-selectors and common template functionality.


Markup language featuring html outlining via css-selectors, extensible via pkg html/template and others.Package damsel provides html outlining via css-selectors and common template functionality.

sprig - Useful template functions for Go templates.


The Go language comes with a built-in template language, but not very many template functions. This library provides a group of commonly used template functions.It is inspired by the template functions found in Twig and also in various JavaScript libraries, such as underscore.js.

tpll - HTML Template Engine for Haskell inspired by Django Template Language


HTML Template Engine for Haskell inspired by Django Template Language

jet - Jet template engine


Jet is a template engine developed to be easy to use, powerful, dynamic, yet secure and very fast.You can find the documentation in the wiki.

plates - Native PHP template system


Plates is a native PHP template system that's fast, easy to use and easy to extend. It's inspired by the excellent Twig template engine and strives to bring modern template language functionality to native PHP templates. Plates is designed for developers who prefer to use native PHP templates over compiled template languages, such as Twig or Smarty.Full documentation can be found at platesphp.com.

amber - Amber is an elegant templating engine for Go Programming Language, inspired from HAML and Jade


While Amber is perfectly fine and stable to use, I've been working on a direct Pug.js port for Go. It is somewhat hacky at the moment but take a look at Pug.go if you are looking for a Pug.js compatible Go template engine.

zview - zview - Erlang Template Engine (inspired by erlydtl, Django Templates, Liquid and others.)


zview - Erlang Template Engine (inspired by erlydtl, Django Templates, Liquid and others.)

go-template - :metal: The best way to work with different type of Template Engines and Parsers for Go Programming Language


The package go-template provides the easier way to use templates via template engine, supports multiple template engines with different file extensions.It's already tested on production & used on Iris and Q web framework.