Theme update (Academic) causes website to look wonky

I had a local version of my website built on a version of Academic that I had cloned back in the summer. Considering I now wanted it as a submodule, here is what I did:

  1. I created a repo to which I added all my preexisting content, except the themes folder;

  2. I added a new themes folder;

  3. Inside the themes folder, I wrote:

     git submodule add
  4. This was the result:

I get this error message:

ERROR 2017/10/26 20:54:06 Error while rendering “section”: template: theme/section/publication.html:36:28: executing “theme/section/publication.html” at <sort $years_sorted "…>: error calling sort: sequence must be provided
ERROR 2017/10/26 20:54:06 Error while rendering “home”: template: theme/index.html:1:3: executing “theme/index.html” at <partial "widget_page…>: error calling partial: template: theme/partials/widget_page.html:23:9: executing “theme/partials/widget_page.html” at <partial $widget $par…>: error calling partial: template: theme/partials/widgets/posts.html:25:14: executing “theme/partials/widgets/posts.html” at <len $page.Params.tag…>: error calling len: len of untyped nil

Can anybody help me understand what this means, and help me figure out what to do next? Thanks so much! :slight_smile:

Hello @claudia,

this answer I gave in the thread below applies here as well. The tl;dr is make sure you copy all necessary files from the exampleSite folder into the corresponding folders in the root directory of your hugo site.

Hi @digitalcraftsman,

Thanks, I tried to do what you said and copied everything I thought was relevant (same folders, same files, and I replaced my config.toml with the one from the exampleSite and added all my information again), but now the website shows up blank.

I don’t know if it’s relevant, but this is a multilingual website, and it was working just fine before I added the theme in its latest version as a submodule.

It will be easier to find the issue(s) if you could share you website online, e.g. on GitHub.

Sure! The repo is at

Hello again,
So, I decided to start again from the beginning and my website is finally online. Thanks for your help, @digitalcraftsman.

Sorry for returning so late to this thread. The last days kept me busier than expected.

Nonetheless, it great to hear that your website is finally up and runnig.

Not a problem. It was easier to start over anyway.

Thanks ^^