curtiscde / hugo-theme-massively

Massively theme for Hugo static site generator
https://hugo-theme-massively.netlify.app
Other
155 stars 138 forks source link

Use absURL and relURL functions instead of BaseURL #14

Closed pmviva closed 6 years ago

pmviva commented 6 years ago

Use the absURL and relURL functions provided by Hugo instead of concatenating the site variable {{ .Site.BaseURL }} since concatenation is more error prone.

pmviva commented 6 years ago

It also allows a nice transition in the future to enable multilingual mode just replacing absURL with absLangURL and relURL with relLangURL.

curtiscde commented 6 years ago

Closing thanks to: https://github.com/curttimson/hugo-theme-massively/pull/16