Skip to content

Commit 1cbd84c

Browse files
committed
configure page images
1 parent c44f9f1 commit 1cbd84c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

404.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
layout: standalone
33
title: Page not found
4+
image:
5+
file: owen.jpg
6+
sub_dir: null
47
permalink: /404.html
58
---
69

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</title>
1515

1616
{% if page.image %}
17-
{% capture page_image %} {% link_absolute {{ page.image | img_url }} %} {% endcapture %}
17+
{% capture page_image %} {% link_absolute {{ page.image.file | img_url: page.image.sub_dir }} %} {% endcapture %}
1818
{% else %}
1919
{% capture page_image %} {% link_absolute {{ site.logo | img_url }} %} {% endcapture %}
2020
{% endif %}

retreat/2025.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
layout: event
33
title: April 2025 Retreat
4-
image: events/retreat2025.png
4+
image:
5+
file: retreat2025.png
6+
sub_dir: events
57
event_id: retreat2025
68
speaker_layout_cards: false
79
---

0 commit comments

Comments
 (0)