Closed onedrawingperday closed 6 years ago
sounds like i can fix this by just moving /content
to /exampleSite
? lemme try it later this weekend and get back to you
Actually @tummychow it seems that you need to create a custom config.toml
for the Example Site so that Hugo can find .Site.Params.github
etc. in your sidebar partial.
For a sample of the Example Site directory please have a look at the Ananke Theme repository and at the updated Hugo Themes README .
Once you do the above please let me know so that either I or @digitalcraftsman can have a further look.
Also if you have any questions do not hesitate to ask.
Thank you!
@onedrawingperday thanks for explaining. I've got a branch (https://github.com/tummychow/lanyon-hugo/tree/example-site) which seems to fix the issue when I regenerate the theme site locally. Could you give it a spin and confirm/deny that it works for you? If it works, I'll merge the branch to master and you can update the submodule sha accordingly.
Hi @tummychow and thanks for pushing the changes.
I confirm that now your theme's demo generates fine with the Hugo Site Build Script.
So please merge the branch to master and let me know.
Thank you! 👍
just merged to master. thanks for flagging the issue and let me know if you run into any other problems getting the example site to work
The Demo will work again on the Hugo website once @digitalcraftsman updates all theme submodules.
Thanks.
I've updated all themes. Their changes should show up in a few minutes on the Hugo theme site.
Hi @tummychow
When I execute the Hugo Themes Site Build Script I get the following console ERROR with your theme:
It seems that your theme needs to have its own Example Site and that it currently fails because it relies on the Hugo Basic Example.
Also I noticed that you have a
/content/
folder under the root of your theme's repo. This directory will need to go under/exampleSite/
Can you please look into the above?
Thanks!
CC /@digitalcraftsman