Merge remote-tracking branch 'refs/remotes/origin/master' into photoswipe
This commit is contained in:
commit
53f6ca8b72
1 changed files with 4 additions and 4 deletions
|
|
@ -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" }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue