Skip to content

Instantly share code, notes, and snippets.

@aleiphoenix aleiphoenix/
Created Apr 22, 2015

What would you like to do?
Native usage of Jinja2
# -*- coding: utf-8 -*-
from jinja2 import Environment, FileSystemLoader
env = Environment(loader=FileSystemLoader('templates'))
t = env.get_template('test.jinja2')
hello, {{ name }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.