Need Help with Jekyll to Hugo Migration Error with Rendering Existing Categories and Tags

Hello Hugo Community,

I hope this message finds you well. I’m migrating my website from Jekyll to Hugo, and I’ve encountered an issue I could use some assistance with. I’ve read the forum guidelines and recommendations, so I’ll try to provide as much detail as possible.

Issue Summary: I’m facing an error when rendering pages after migrating from Jekyll to Hugo. The error message I’m getting is as follows:

Error: error building site: render: failed to render pages: render of "page" failed: execute of template failed: template: _internal/schema.html:24:82: executing "_internal/schema.html" at <.Params.tags>: range can't iterate over <one of my Jekyll tags>


  1. I’m using the “Ananke” theme (as per the documentation) without any modifications.
  2. I’ve successfully migrated my content from Jekyll to Hugo using the hugo migrate command, which means I’m using Hugo’s default settings and configurations.
  3. The error seems to be related to the usage of tags in my content front matter.

What I’ve Tried:

  1. I’ve thoroughly reviewed my content front matter to ensure that it matches Hugo’s format and structure.
  2. I’ve compared my Hugo theme’s templates to ensure they are correctly configured for my content.
  3. I’ve read through the Hugo documentation and searched the forum, but I couldn’t find a solution that addresses this specific issue.

Request for Assistance: I’m seeking guidance on how to resolve this error and successfully render my pages in Hugo. Since I’m using the default settings from the hugo migrate command and have no customizations or snippets to add, any insights into what might be causing this error would be greatly appreciated.

Environment Details: Here is the output of hugo env:

bashCopy code

$ hugo env

hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended darwin/arm64 BuildDate=2023-09-24T15:20:17Z VendorInfo=brew

Thank you in advance for your help and guidance. I truly appreciate the support of this community, and I’m committed to following the forum guidelines and contributing as well.

Without seeing your content front matter, it’ near impossible to help you. Even better would be a link to your repository.

Thank you Christian! I don’t want to commit this to a repo until I get around this error. That said, here are some sample front-matter snippets. This reflects how the hugo migration command brought this information over, not modified by me.

file 1

- Personal productivity
date: "2017-02-09T00:00:00Z"
- Vim editor
title: Vim for writers


file 2

- Drupal
comments: true
date: "2017-02-13T00:00:00Z"
- Drupal @ Duke
title: Drupal @ Duke meetup notes

file 3

- Drupal
comments: true
date: "2018-04-07T00:00:00Z"
- label: More Info
caption: Drupal
overlay_filter: 0.5
overlay_image: /assets/images/drupal_logo.png
- Drupalcon Nashville 2018
title: DrupalCon Nashville 2018 -- Higher Education Summit Notes
toc: true
toc_icon: cog
toc_label: Session quick links

You probably mean “Ananke”, not “Anaka” (the theme). At least Ananke makes a call to _internal/schema.html that matches your case.

Do you know which tags fail(s)? That might help pinning it down.

1 Like

The tag “Story-telling” throws the error. I did a sed s/Story-telling/storytelling/g pre-migration but to no positive effect.

On one of your pages, I suspect the tags front matter value is scalar instead of an array.


Interesting, thank you for the suggestion. I should be able to find any scalar instances and convert them before migration.

Simply Regex searching in your files might help ^[^-].*[Ss]tory-telling or so.

1 Like

@jmooring that worked! I changed all my Jekyll front matter tags and categories scalars to arrays, and now the site spins up in hugo.

Thank you!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.