Please make sure that you have read the theme submission guidelines before submitting a theme. The guidelines provide all relevant information and requirements that have to be fulfilled before the submission. We strongly suggest that you test your theme with the Hugo Themes Build Script before submitting the theme for review. If a submission does not meet the criteria mentioned in the README it will be closed. You may re-submit once you fix the problems with your submission. However, please note that we have limited resources and can not provide help for general web development issues. For Hugo support questions please refer to the dedicated support forum.
Please tick the relevant boxes for your theme in the checklist below:
Link to my theme repository: https://gitlab.com/rmaguiar/hugo-theme-color-your-world
README.md describing my themeLICENSE.mdtheme.tomlimages/ folder with the required dimensionshttps://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domainstoCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of HugoN.B. By submitting a theme to the Hugo Themes Showcase you understand that you need to maintain your theme. If a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning. If you no longer wish to maintain a theme please let us know.
New themes will usually be promoted on Hugo's official Twitter account. If you would like to be mentioned in the tweet please add your Twitter username to this submission.
Link to my Twitter account (optional): ---
Feel free to ask questions. We're glad to help.
Hello @rmaguiar,
thank you for sharing this theme with the Hugo community. While reviewing your theme I noticed that your stylesheet attempts to load fonts from the private (i.e. non-routed) IP address 10.0.0.103. Do you have a server in a private locale network that you're referencing?
I tried to follow the guide, using absolute URLs for those fonts, like referenced here.
Maybe I did something wrong during the resources generation...? I'll try again.
Edit: Done.
I tried to follow the guide, using absolute URLs for those fonts, like referenced here.
absURL and relURL are used are mostly used in Hugo's html templates to link pages, assets etc. With your changes you hard-coded example.com as hoster for the fonts, which doesn't work either.
However, you can link fonts relative to the location of the stylesheet and thus completely independent from the baseURL. Let's pretend you've a directory tree as follows:
static/css/styles.css
/fonts/myfont.ttf
Inside style.css you can refer to myfont.ttf by using the relative path ../fonts/myfont.ttf.
The funny thing is that I was doing that before, so I just had to revert some changes...
Sorry. :eyes:
Please prepend the paths in line 27,27,49 and 50 as well with .. such that all paths to fonts start with ../fonts/. Otherwise, some fonts still can't be found.
Done!
Your theme should appear soon on Hugo's theme site. Next, I'll promote your theme on Hugo's official Twitter account.