Upgrading Hugo

As an extremely casual user of Hugo, i barely

so i searched for things like “update hugo site to 0.57”

Dump Hugo flex; i tried switching to it to fix the index (home) being blank inexplicably and persistently. Hugo Flex seemed to require an updated version of Hugo; this was a bit confusing to me since GitLab was effectively providing Hugo (i hadn’t run/built the site locally for … a long time) but i figured out how to do that and then GitLab’s updated Hugo had trouble with Hugo Flex. Rather than spending too long figuring that out, i tried switching back to Hyde, but with the newer Hugo, and it worked.

It doesn’t make sense that an older version of Hugo would stop working with an unchanged version of Hyde, so maybe all i did was the GitLab CI version of turning it off and turning it back on again, although of course it’s supposed to be a full new try every time, so who knows what gives.

try going back to Hyde

Was getting errors like this:

    Building sites … ERROR 2019/09/01 23:34:15 render of "page" failed: execute of template failed: template: _default/single.html:6:5: executing "main" at <partial "tags.html" .>: error calling partial: "/builds/agaric/raw-notes/themes/hugo-flex/layouts/partials/tags.html:10:37": execute of template failed: template: partials/tags.html:10:37: executing "partials/tags.html" at <$taxonomy>: range can't iterate over Drutopia, idea
    Total in 384 ms
    Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:40:5: executing "main" at <partial "tags.html" .>: error calling partial: "/builds/agaric/raw-notes/themes/hugo-flex/layouts/partials/tags.html:10:37": execute of template failed: template: partials/tags.html:10:37: executing "partials/tags.html" at <$taxonomy>: range can't iterate over Drutopia, idea

Ended up not having any submodules but i’m leaving the variable in my .gitlab-ci.yaml file in case i ever do.