I am using the cupper theme with some modifications. I installed the original theme as a submodule and saved the data in
root/themes/cupper-hugo-theme; the customized one is applied in a way of overriding, that is, I copied the original structure of
cupper-hugo-theme into the
root directory and modified them.
Now, I am about to install and move to another theme. Ultimately, I want to save both themes and want to be able to switch within them using the
theme variable in the
Before adding another theme, I want to save the current theme (modified cupper). I conceive that I can do it by the following steps:
- pack the current theme in a new folder (i.e. cupper-hugo-theme-modified)
- save the cupper-hugo-theme-modified folder in
- install a new theme in the
- copy the structure of the newly installed theme into the
rootdirectory and customize it
, but I cannot try it, wondering it may provoke irreversible errors (sorry for not providing any codes in this query).
Will my plan work? or is there any other avenue?
Thanks in advance.