DirTempl templates a whole directory, letting you swap out individual snippets for the contents of files in the snippets directory.
DirTempl is typically best installed by installing pipx and then installing dirtempl using pipx.
pipx install dirtempldirtempl input/ snippets/ output/Anything in input folder containing {{{{ my_snippet }}}} will replace the contents with the corresponding file in snippets/ - e.g. my_snippet.
Too complicated.