Closed tylersayshi closed 4 years ago
Hello Tyler,
thank you for sharing this theme with the Hugo community 👍
While reviewing your theme I encountered an error regarding the stylesheets in the head partial. Please add a $
sign in front of style
in line 6. Otherwise style is interpreted as a call of a function (that does not exist), not as a variable.
I noticed that the script to test the theme build has the first line as # /bin/bash. I believe this should instead be #!/bin/bash Is this something you'd be ok with receiving a PR for? I know you do not want PRs for themes, but I wasn't sure since this was different.
Thanks for pointing this out. It has already been fixed in https://github.com/gohugoio/hugoThemes/commit/d97c8f0e2b488a9c11d1cf5c6e8402f835adf7be. Theme submissions as PRs are best avoided because the proved to be inefficient during a review because it adds another layer between me and the source code. PRs for such things, typos etc. are always welcome.
And please make sure that the thumbnail and screenshot in the images
folder have the right dimensions. You can find them in the README.
Hello @digitalcraftsman
Thanks for taking a look at that and answering my question. Thanks also for finding that bug I had, I am not sure why I didn't see the error during my local development, but I appreciate you catching that.
Here is the commit with the fix: https://github.com/tylerjlawson/simple-resume/commit/fb819a9b4835e464780c347bcbba9fc442633f4c
My apologies about the thumbnail size, I have since fixed the dimensions to be 900x600 for the thumbnail. The screenshot should be the 1500x1000 per the READMEs request.
Thanks for fixing the issues. Your theme is already live on Hugo's theme site. Next, I'll promote your theme on Hugo's official Twitter account.
I noticed the image in my readme breaks when it is put onto the theme site so I updated my readme. Will the website automatically rebuild to reflect that change or is that process done manually?
I noticed the image in my readme breaks when it is put onto the theme site so I updated my readme.
That's because the relative path you've used works on Github, but the directory structure of your repo isn't the same as on www.themes.gohugo.io. Instead of removing the screenshot you could use an absolute path: https://raw.githubusercontent.com/tylerjlawson/simple-resume/3495ff7d4351510595820d08a7f3b01733197e75/images/screenshot.png
Will the website automatically rebuild to reflect that change or is that process done manually?
Theme updates happen automatically every 3 days, the next update should be scheduled within the next 24 hours.
Thank you @digitalcraftsman
Theme submission
Link to my theme repository: https://github.com/tylerjlawson/simple-resume
I made sure that...
README.md
describing my themeLICENSE.md
theme.toml
images/
folder with the required dimensionshttps://example.com
is set as base url inexampleSite/config.{toml, yaml, json}
to avoid the abuse of unused domainstoCSS
andPostCSS
that I have committed the/resources
directory with all generated assets, for my theme to work in the basic version of HugoNew 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): I do not have Twitter, but would love a shout out by name
Feel free to ask questions. We're glad to help.
I noticed that the script to test the theme build has the first line as
# /bin/bash
. I believe this should instead be#!/bin/bash
Is this something you'd be ok with receiving a PR for? I know you do not want PRs for themes, but I wasn't sure since this was different.