Hi @1GoodCall, I do this type of thing in my Open Course Hub Skeleton. Here is an earlier response to a very similar question, New pages with default frontmatter
You may also want to check out my Learn2 with Git Sync skeleton which includes this technique as well:
Let me know how things go.