Use assets folder for bgimg and homeimg

This commit is contained in:
Joe Hutchinson
2020-07-13 23:00:17 -04:00
parent 77dbbb0254
commit 0b275717d3
4 changed files with 10 additions and 11 deletions

View File

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