[fastpages] _sass/minima submodule url error during manual update

While following the great manual update instructions by @byteshiva & @hamelsmu, something happened at the “git add” step (Step 7, after resolving/merging conflicts) that was not in the example. I got this:

$ git add . 
warning: adding embedded git repository: _sass/minima/minima
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint: 	git submodule add <url> _sass/minima/minima
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint: 	git rm --cached _sass/minima/minima
hint: See "git help submodule" for more information.

I didn’t know what this was about, or if it was imporant, and since it wasn’t in the example I just ignored it and kept going. But now my Fastpages blog won’t build anymore. The GitHub Action fails with the error:

No url found for submodule path '_sass/minima/minima' in .gitmodules

So,… should I go back up and…either add or remove that submodule? I’m out of my depth there.

PS: This update was performed to resolve or report a bug in which HTML angle-brackets in my Markdown post are getting converted to &lt; and &gt;, thereby breaking my cool graph (pre-update version:) https://drscotthawley.github.io/blog/2020/11/01/Iooxa_Test.html

RESOLVED: running git rm --cached _sass/minima/minima and git commit was all it took to restore working order. :slight_smile:

Also, I found a hack/work-around to nbdev's mangling of my HTML, which I think will work for most applications: use the images/ directory to store the HTML, and then load it in an iframe. See https://drscotthawley.github.io/blog/2020/11/01/Iooxa_Test.html and scroll down to the bottom to see the graph!