hugo-cite icon indicating copy to clipboard operation
hugo-cite copied to clipboard

How to uninstall?

Open loup-brun opened this issue 4 years ago • 0 comments

  • Add documentation on how to uninstall the submodule from a project.

This implies the following actions:

  1. Remove the theme entry in the Hugo config.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);
  2. Delete the themes/hugo-cite directory + removing from the parent Git project: git rm -r themes/hugo-cite;
  3. Cleanup local submodule objects (rm -rf .git/modules/themes/hugo-cite/).

loup-brun avatar Apr 26 '20 13:04 loup-brun