Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

BUG: hugo version 0.7 #141

Closed
arguskao opened this issue May 18, 2020 · 7 comments
Closed

BUG: hugo version 0.7 #141

arguskao opened this issue May 18, 2020 · 7 comments

Comments

@arguskao
Copy link

Bug Report

Describe the bug

I add a post , and want to produce new article.

When I write hugo.

It appears

Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: post/single.html:3:5: executing "post/single.html" at <partial "head" .>: error calling partial: execute of template failed: template: _internal/schema.html:22:82: executing "_internal/schema.html" at <.Params.tags>: range can't iterate over

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Environment

  • Hugo Version: [e.g. 0.46]
  • Browser and Version: [e.g. Chrome 74.0.3729.108]
  • Platform: [e.g. Desktop/Mobile]
  • Link to Project:

Additional context

@pacollins
Copy link
Owner

  1. Ensure you are using Hugo extended edition
  2. If you are using that, please post a link to your project. I just got the most recent version and did not have this error.

@arguskao
Copy link
Author

Thanks for your kindness reply.
I do not know what is Hugo extended edition.

I use mac, I use brew install hugo.

And I use the theme several months ago.

@pacollins
Copy link
Owner

https://github.com/gohugoio/hugo/releases/tag/v0.71.0

It is at the bottom there. We shifted to this version when we made #66.

@arguskao
Copy link
Author

@arguskao
Copy link
Author

I find the error.
If my article is YAML that is good.
TOML is bad.

@kprohith
Copy link

kprohith commented Jun 11, 2020

I've been getting the same error while using Netlify CMS and passing tags in the fields using

  • { label: 'Tags', name: 'tags', widget: 'string'}

@pacollins
Copy link
Owner

pacollins commented Jun 11, 2020

@kprohith - Can you provide a little more information? I do not use Netlify CMS, so it is foreign to me.

I will say that I do deploy my site with Netlify and do not have any errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants