Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable usage of relative URLs for avatars #683
Based on these 3 comments on the
I believe that
By the way, I currently see 9 results of
I know that if we change lines 13 and 14 to:
then it works. That is, adding
I'm hoping you have a more elegant, stable and robust solution than the one we found so that no one has to edit the
Hugo has known issues with relative URLs in style tags. We have tried to workaround it so that the about widget avatar works on most kinds of deployment by using absolute URLs. For example, the demo on the Hugo Themes Site doesn't work when the avatar image is a relative URL.
You mentioned that RStudio hosting doesn't support absolute URLs, but I believe this might cause issues in other aspects of your website such as SEO metadata and social sharing, where absolute URLs are required.