File tree 1 file changed +16
-17
lines changed
1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change 5
5
{%- endif -%}
6
6
7
7
{%- if page_or_section.extra.image -%}
8
- {%- set cover_path = page_or_section.extra.image.path -%}
9
- {%- set cover_photographer = page_or_section.extra.image.photographer | default(value="") -%}
10
- {%- set cover_source = page_or_section.extra.image.source | default(value="") -%}
11
- {%- set colocated = page_or_section.extra.image.colocated | default(value=true) -%}
8
+ {%- set cover_path = page_or_section.extra.image.path -%}
9
+ {%- set cover_photographer = page_or_section.extra.image.photographer | default(value="") -%}
10
+ {%- set cover_source = page_or_section.extra.image.source | default(value="") -%}
11
+ {%- set colocated = page_or_section.extra.image.colocated | default(value=true) -%}
12
+ < div id ="hero-wrapper ">
13
+ {{ image::enriched(
14
+ path=cover_path,
15
+ alt="Photo",
16
+ source=cover_source,
17
+ photographer=cover_photographer,
18
+ colocated=colocated
19
+ ) }}
20
+ </ div >
12
21
{%- else -%}
13
- {%- set cover_path = '../static/' ~ config.extra.cover.path -%}
14
- {%- set cover_photographer = config.extra.cover.photographer | default(value="") -%}
15
- {%- set cover_source = config.extra.cover.source | default(value="") -%}
16
- {%- set colocated = false -%}
22
+ < div id ="hero-wrapper ">
23
+ {% include "partials/splash.html" %}
24
+ </ div >
17
25
{%- endif -%}
18
26
19
- < div id ="hero-wrapper ">
20
- {{ image::enriched(
21
- path=cover_path,
22
- alt="Photo",
23
- source=cover_source,
24
- photographer=cover_photographer,
25
- colocated=colocated
26
- ) }}
27
- </ div >
You can’t perform that action at this time.
0 commit comments