Remove leading slash from links so that theme is compatible with Hugo Themes Site

This commit is contained in:
Joe Hutchinson
2019-01-08 10:12:23 -05:00
parent 5128090655
commit f70edfd9a3
5 changed files with 11 additions and 11 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 | absURL | safeCSS }} {{ else }} /img/grey-cloud.jpg | absURL {{ end }} )" rel="bookmark" >
href="{{ .Site.BaseURL }}" 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>