aerohub / hugo-identity-theme

Little profile/card-style template for Hugo. Based on Identity by HTML5 UP.
Other
89 stars 44 forks source link

Use relative URLs for assets and images #25

Closed geraintguan closed 7 years ago

geraintguan commented 7 years ago

Hi! First of all thanks for all your work, this is a great theme. 😄

I was having a bit of trouble getting the theme to work on Gitlab pages due to the site not being hosted on a root directory but rather a sub-directory. This PR fixes this by transforming all of the asset and image URLs with the relURL hugo function that takes into account your baseURL setting in the configuration file.

stp-ip commented 7 years ago

So basically a fix for running the page within a subpath/subdirectory right? Will do my best to dive into it.

geraintguan commented 7 years ago

Yes 👍 . Let me know if there's anything you'd like me to change 😄

stp-ip commented 7 years ago

Seems good thanks. If you have some time, you could look into #24 and help me figure out why circumventing the captcha still seems to be possible. ;)