Merge remote-tracking branch 'refs/remotes/origin/master' into photoswipe

This commit is contained in:
Michael Romero 2017-03-20 23:59:09 -07:00
commit 53f6ca8b72

View File

@ -1,11 +1,11 @@
{{ if .IsHome }} {{ if .IsHome }}
{{ $.Scratch.Add "bigimg" .Site.Params.bigimg }}
{{ $.Scratch.Add "title" .Site.Title }} {{ $.Scratch.Add "title" .Site.Title }}
{{ $.Scratch.Add "subtitle" .Site.Params.subtitle }} {{ if .Site.Params.subtitle }}{{ $.Scratch.Add "subtitle" .Site.Params.subtitle }}{{ end }}
{{ if .Site.Params.bigimg }}{{ $.Scratch.Add "bigimg" .Site.Params.bigimg }}{{ end }}
{{ else }} {{ else }}
{{ $.Scratch.Add "bigimg" .Params.bigimg }}
{{ $.Scratch.Add "title" .Title }} {{ $.Scratch.Add "title" .Title }}
{{ $.Scratch.Add "subtitle" .Params.subtitle }} {{ if .Params.subtitle }}{{ $.Scratch.Add "subtitle" .Params.subtitle }}{{ end }}
{{ if .Params.bigimg }}{{ $.Scratch.Add "bigimg" .Params.bigimg }}{{ end }}
{{ end }} {{ end }}
{{ $bigimg := $.Scratch.Get "bigimg" }} {{ $bigimg := $.Scratch.Get "bigimg" }}