Created
December 24, 2011 00:12
-
-
Save pamelafox/1515758 to your computer and use it in GitHub Desktop.
PhoneGap Index Renderer (Jinja2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
sys.path.append('/Library/Python/2.7/site-packages') | |
from jinja2 import Environment, FileSystemLoader | |
if __name__ == "__main__": | |
env = Environment(loader=FileSystemLoader('application/templates/')) | |
template = env.get_template('phonegap/index.html') | |
print template.render(debug=False, mobile=True, native=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment