| layouts/partials/foot.html | ●●●●● patch | view | raw | blame | history | |
| layouts/partials/head.html | ●●●●● patch | view | raw | blame | history |
layouts/partials/foot.html
@@ -12,7 +12,7 @@ images = [ {{- $last_elem := sub (len .) 1 -}} {{ range $index, $component := . -}} {{ . | relURL }}{{ if lt $index $last_elem }},{{ end }} {{ . | absURL }}{{ if lt $index $last_elem }},{{ end }} {{- end -}} ]; i = Math.ceil(Math.random() * images.length) - 1; @@ -26,7 +26,7 @@ images = [ {{- $last_elem := sub (len .) 1 -}} {{ range $index, $component := . -}} {{ . | relURL }}{{ if lt $index $last_elem }},{{ end }} {{ . | absURL }}{{ if lt $index $last_elem }},{{ end }} {{- end -}} ]; i = Math.ceil(Math.random() * images.length) - 1; layouts/partials/head.html
@@ -42,13 +42,13 @@ <style> {{ with .Site.Params.headerimages }} #headerimg { background-image: url({{ index . 0 | safeURL | relURL }}); background-image: url({{ index . 0 | safeURL | absURL }}); background-size: cover; } {{ end }} {{ with .Params.sideimages }} #sideimage { background-image: url({{ index . 0 | safeURL | relURL }}); background-image: url({{ index . 0 | safeURL | absURL }}); background-size: cover; } {{ end }}