gethugothemes / bigspring-light-hugo

Bigspring is a Hugo startup theme. It has a clean, minimal, fresh UI.
https://gethugothemes.com/products/bigspring/?utm_source=bigspring_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
204 stars 303 forks source link

Use relURL instead of absURL #23

Closed raphink closed 3 years ago

raphink commented 3 years ago

This allows to publish the site under various domain names (or test locally)

somratpro commented 3 years ago

Hello @raphink

Does absURL cause any issue?

raphink commented 3 years ago

Yes, absURL uses the absolute URL from the config file for each link. This makes it harder to test locally (unless you modify your /etc/hosts), and impossible to support multiple domains on a website. I really see no good reason to use absURL other than forcing a canonical domain.

somratpro commented 3 years ago

please resolve conflict