hugo-cite
hugo-cite copied to clipboard
How to uninstall?
- Add documentation on how to uninstall the submodule from a project.
This implies the following actions:
- Remove the
theme
entry in the Hugoconfig.yml
/config.toml
file:- GNU sed:
sed -i -e '/- hugo-cite/d' config.yml
; - MacOS sed:
sed -i '' -e '/- hugo-cite/d' config.yml
(via StackOverflow);
- GNU sed:
- Delete the
themes/hugo-cite
directory + removing from the parent Git project:git rm -r themes/hugo-cite
; - Cleanup local submodule objects (
rm -rf .git/modules/themes/hugo-cite/
).