From 76eee516fff4526b14c9d75ba98bba09f97ee283 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sat, 8 Mar 2025 15:02:14 -0500 Subject: [PATCH] Add home_url metadata handling --- theme/single-page.liquid | 4 +++- theme/version.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/theme/single-page.liquid b/theme/single-page.liquid index 65698d8..0086e45 100644 --- a/theme/single-page.liquid +++ b/theme/single-page.liquid @@ -1,7 +1,9 @@
+ {%- assign home_url = page.metadata | value: "home_url" -%} + {%- if home_url == "-- home_url not found --" %}{% assign home_url = "" %}{% endif -%}

{{ page.title }}

{{ page.text }} -


« Home +


« Home {% if is_logged_on -%}

Edit This Page {% endif %} diff --git a/theme/version.txt b/theme/version.txt index ecfa115..0ff5172 100644 --- a/theme/version.txt +++ b/theme/version.txt @@ -1,2 +1,2 @@ Bit Badger Solutions -20240724 \ No newline at end of file +20250308 \ No newline at end of file