Add home_url metadata handling
This commit is contained in:
parent
66469ee3f5
commit
76eee516ff
@ -1,7 +1,9 @@
|
||||
<article class="content auto">
|
||||
{%- assign home_url = page.metadata | value: "home_url" -%}
|
||||
{%- if home_url == "-- home_url not found --" %}{% assign home_url = "" %}{% endif -%}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ page.text }}
|
||||
<p><br><a href="{{ "" | relative_link }}" title=Home>« Home</a>
|
||||
<p><br><a href="{{ home_url | relative_link }}" title=Home>« Home</a>
|
||||
{% if is_logged_on -%}
|
||||
<p><small><a hx-boost=false href="{{ page | edit_page_link }}">Edit This Page</a></small>
|
||||
{% endif %}
|
||||
|
@ -1,2 +1,2 @@
|
||||
Bit Badger Solutions
|
||||
20240724
|
||||
20250308
|
Loading…
x
Reference in New Issue
Block a user