Best practices for adding Bootstrap versions
stephenpiscura opened this issue · comments
stephenpiscura commented
This is my first attempt at contributing to a GitHub project so please bear with me. I’m following up on this support issue in the Hugo forum.
I thought about taking this approach:
For v4.0.0:
[module]
[[module.imports]]
path="github.com/twbs/bootstrap"
[[module.imports.mounts]]
source = "tree/v4.0.0/scss"
target = "assets/scss/bootstrap"
For v4.1.0:
[module]
[[module.imports]]
path="github.com/twbs/bootstrap"
[[module.imports.mounts]]
source = "tree/v4.1.0/scss"
target = "assets/scss/bootstrap"
and so on.
Is that an abuse of how import mounts are meant to work?
Sorry for the rookie questions; i’d love to be helpful here if I can.
Bjørn Erik Pedersen commented
I would never change the source
value (unless it's changing). Do versioning via tags or module paths.
Bjørn Erik Pedersen commented
Sorry for the delay, I have created a new repo that replaces this. I have added some notes here: