12 lines
No EOL
443 B
HTML
12 lines
No EOL
443 B
HTML
<div class="page__hero">
|
|
<img src=
|
|
{% if page.header.image contains "http" %}
|
|
"{{ page.header.image }}"
|
|
{% else %}
|
|
"{{ page.header.image | prepend: "/images/" | prepend: base_path }}"
|
|
{% endif %}
|
|
alt="{{ page.title }}" class="page__hero-image">
|
|
{% if page.header.caption %}
|
|
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
|
{% endif %}
|
|
</div> |