bilberry-hugo-theme: Your theme's demo is not working on the Hugo Themes website

Hello @Lednerb

I see that since commit 79846b17 your theme is using Hugo Pipes.

However you have not committed the generated resources of your theme and as a result your theme’s demo fails to generate on the Hugo website.

To fix this issue please have a look at the updated README of Hugo Themes: https://github.com/gohugoio/hugoThemes#resources You need to commit the /resources/ directory and its contents in your theme’s repository.

If you have any questions do not hesitate to ask me or @digitalcraftsman

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments

@onedrawingperday thanks for the PR, it’s merged.

Hey @onedrawingperday

thanks for the critical hint here. I’ve forgotten this part.

New version pushed.


Thank you very much for your help, time and engagement not only on this theme but also here https://github.com/gohugoio/hugoThemes/issues/430#issuecomment-435367441 and in general with the Hugo Theme department! 👍 🎉

Great work!

https://github.com/Lednerb/bilberry-hugo-theme/commit/8770b9b8997c6d0da74f545cacb84853d1de141f looks fine.

Regarding the public/resources folder please try the following:

  • Go into your theme’s exampleSite directory.
  • In line 5 of exampleSite/config.toml enter this parameter: themesDir = "../.."
  • Save
  • Open a terminal from within the /exampleSite/ directory and run hugo
  • After a while you should have a exampleSite/public/ directory and within that the /resources/ that we need. Copy this folder under the root of your theme.
  • Make sure to delete the exampleSite/public/ after doing the above step because it is no longer needed.
  • Commit the changes.
  • Let me know.

P.S. Whenever you update your theme’s SCSS you will need to generate your theme’s resources and then commit them again.

@onedrawingperday thank you very much for the hint! I will update and commit the resources in the next days and leave a message here when it’s done.