Make all links absolute so they respect the base URL

This commit is contained in:
Joe Hutchinson
2019-01-03 12:01:20 -05:00
parent b7cc31a1be
commit f8006aab61
6 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" ontouchmove="cardReleased.call(this)"
href="/" class="card home-card" style="background-image: url({{if isset .Site.Params "homeimg"}} {{ .Site.Params.homeimg | safeCSS }} {{ else }} /img/grey-cloud.jpg {{ end }})" rel="bookmark" >
href="/" class="card home-card" style="background-image: url({{if isset .Site.Params "homeimg"}} {{ .Site.Params.homeimg | absURL | safeCSS }} {{ else }} /img/grey-cloud.jpg | absURL {{ end }} )" rel="bookmark" >
Home
</a>