hastexo / olx-utils

Tools facilitating the creation of Open edX courseware in the Open Learning XML (OLX) format
GNU Affero General Public License v3.0
5 stars 5 forks source link

Mako templates should be named .mako #14

Open fghaas opened 7 years ago

fghaas commented 7 years ago

It's pretty confusing that the Mako templates we use are named .xml, when they're really not valid (nor even well-formed) XML. It trips up syntax highlighters (such as Emacs' web-mode), too. I suggest we expect Mako templates to be named <filename>.mako, such as course.xml.mako.

This will also make things clearer to users when, at any time, we support template engines other than Mako (say, Jinja2).