https://github.com/gundamew/hugo-bingo
Hello, I would like to share my new created theme. Could you help me to review it? And please let me know if there is anything should be fixed. Thank you.
Hello @gundamew,
thank you for sharing this theme with the Hugo community. While testing your your theme with the build script for the Hugo theme site I noticed that styling is broken and Highlight.js wasn't found.
This happens because assets such as stylesheets, JS files, images etc. are linked relative to the root. But some websites like the demo for your theme are hosted in a subdirectory, e.g. example.com/blog/. Hence a stylesheet is looked up at example.com/styles.css instead of example.com/blog/styles.css.
You can fix that by using the absURL template function like this:
{{ "path/to/asset" | absURL }}.
Please make sure that the paths don't start with a leading slash. Otherwise absURL makes them relative to the root again.
Thank you @digitalcraftsman for reviewing this theme.
I have removed all leading slashes from assets paths. Could you test it again please?
Hi @gundamew currently I am helping out with theme submissions.
I tested your theme's example site and it builds successfully for the Hugo Themes Site. 馃憤
@digitalcraftsman the Hugo Bingo theme is ready to be added to the Themes site.
The theme is already online. I've promote your theme on Hugo's official Twitter account as well.
Most helpful comment
Hi @gundamew currently I am helping out with theme submissions.
I tested your theme's example site and it builds successfully for the Hugo Themes Site. 馃憤
@digitalcraftsman the Hugo Bingo theme is ready to be added to the Themes site.