I happened to stumble across HAML, an interesting and beautiful way to mark up contents and write templates for HTML.
Since I use Python and Django for my web develo
I would use this one, it seems to be the most standard one: https://pypi.org/project/HamlPy3/0.83.0/
Assuming you're using Python3, you shouldn't haver any issues using it with Django, Flask or even standalone.