recognize jinja2 file extensions as HTML

This commit is contained in:
Alan Hamlett 2013-10-31 17:19:17 -07:00
parent 906184cd88
commit 146a959747

View file

@ -26,6 +26,7 @@ log = logging.getLogger(__name__)
# force file name extensions to be recognized as a certain language
EXTENSIONS = {
'md': 'Markdown',
'j2': 'HTML',
}
TRANSLATIONS = {
'CSS+Genshi Text': 'CSS',
@ -35,6 +36,7 @@ TRANSLATIONS = {
'JavaScript+Genshi Text': 'JavaScript',
'JavaScript+Lasso': 'JavaScript',
'Perl6': 'Perl',
'RHTML': 'HTML',
}