Indentation in templates seems to be broken for a long time. According to this thread it is fixed, but I still encounter this problem.
I tried to construct a minimum reproducible example, but the behavior is very inconsistent. So if the example below does not break, try it with a large template with multiple nested lists.
Logseq Desktop App 0.4.5, Linux Mint 20.2