Closed oshliaer closed 4 years ago
Hey, what is the problem exactly? The repo size is too large?
Hi!
Thanks for the repo. It's a really helpful!
It seemed to me that it was too big for me to add a couple of text topics. Or is it not so?
I might be wrong. Just correct me.
Yeah we are going to need to investigate reducing the size. Maybe use git LFS or Netlify large media. I suppose submodules could also be a solution. But I want to avoid making the repo hard to work with. Lots of people don't understand submodules, and git LFS requires extra tooling. It needs to be as easy as fork, clone, commit without doing any advanced git stuff.
OK. There is my example how I store a hugo project
For your case it may be
stackbithq/jamstackthemes-hugo-site
stackbithq/jamstackthemes
. You can use this as a submodule by path jamstackthemes/content/theme/
Without a risk to lost something.
You have to separate the repo between the site and content data.
I think a submodule will be fine.