From 8e0f120ba2db8b6a312941d35c2e5fd79b6815eb 2013-01-22 08:42:45 From: Matthias BUSSONNIER Date: 2013-01-22 08:42:45 Subject: [PATCH] Start to organize template folder --- diff --git a/converters/template.py b/converters/template.py index 6e7f0ce..2fa9b08 100755 --- a/converters/template.py +++ b/converters/template.py @@ -25,12 +25,18 @@ from IPython.utils import path from jinja2 import Environment, FileSystemLoader env = Environment( - loader=FileSystemLoader('./templates/'), + loader=FileSystemLoader([ + './templates/', + './templates/skeleton/', + ]), extensions=['jinja2.ext.loopcontrols'] ) texenv = Environment( - loader=FileSystemLoader('./templates/tex/'), + loader=FileSystemLoader([ + './templates/tex/', + './templates/skeleton/tex/', + ]), extensions=['jinja2.ext.loopcontrols'] ) diff --git a/templates/Makefile b/templates/skeleton/Makefile similarity index 100% rename from templates/Makefile rename to templates/skeleton/Makefile diff --git a/templates/display_priority.tpl b/templates/skeleton/display_priority.tpl similarity index 100% rename from templates/display_priority.tpl rename to templates/skeleton/display_priority.tpl diff --git a/templates/null.tpl b/templates/skeleton/null.tpl similarity index 100% rename from templates/null.tpl rename to templates/skeleton/null.tpl