Make theme more generic, flexibility on description and home img

This commit is contained in:
Joe Hutchinson
2018-12-18 10:56:33 -05:00
parent 22273ffd5d
commit cf6e84b564
6 changed files with 11 additions and 35 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({{ .Site.Params.homeimg }})" rel="bookmark" >
href="/" class="card home-card" style="background-image: url({{if isset .Site.Params "homeimg"}} {{ .Site.Params.homeimg }} {{ else }} /img/grey-cloud.jpg {{ end }})" rel="bookmark" >
Home
</a>