wangchucheng / hugo-eureka

Eureka is a feature-rich and highly customizable Hugo theme.
https://www.wangchucheng.com/en/docs/hugo-eureka/
Apache License 2.0
926 stars 193 forks source link

experiences archetypes file out of date #207

Closed bdillahu closed 2 years ago

bdillahu commented 2 years ago

Describe the bug

The "experiences" archetype file has:

handler: experiences

which generates a WARN message that it is be deprecated and should be

handler: experience

(no s)

To Reproduce

Does this issue reproduce with the latest release?

Using the recommended v0.9.3

Steps to reproduce the behavior:

  1. Add widget file

hugo new -k widgets/experiences homepage/filename.md

  1. hugo server -D
wangchucheng commented 2 years ago

You can just the handler name from experiences to experience and you'll be all set.

bdillahu commented 2 years ago

Understood... just wanted to report it so that it would match expectations for v1.0

wangchucheng commented 2 years ago

Actually, this warning is generated by Eureka not Hugo. This warning is a reminder for users to update their project before Eureka v1.0

bdillahu commented 2 years ago

I'm sorry, I think I've confused things... My suggestion was if the the value should be singular, then we should update this archetype in conjunction, just so people have it "right" when they upgrade.

Regardless, great theme, I'm enjoying it!

wangchucheng commented 2 years ago

Oh my bad, I misunderstood it and I would update the corresponding archetype file, thanks ;-)