Closed pmviva closed 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.
Closing thanks to: https://github.com/curttimson/hugo-theme-massively/pull/16
Use the absURL and relURL functions provided by Hugo instead of concatenating the site variable {{ .Site.BaseURL }} since concatenation is more error prone.