bitbadger.solutions-theme/theme/single-page.liquid

14 lines
764 B
Plaintext

<article class="content auto">
{%- assign home_url = page.metadata | value: "home_url" -%}
{%- if home_url == "-- home_url not found --" %}{% assign home_url = "" %}{% endif -%}
{%- assign series_name = page.metadata | value: "series_name" -%}
{%- if series_name == "-- series_name not found --" %}{% assign series_name = "" %}{% endif -%}
{%- capture home_name %}{% if series_name == "" %}{% else %}{{ series_name }} &bull; {% endif %}{% endcapture -%}
<h1>{{ page.title }}</h1>
{{ page.text }}
<p><br><a href="{{ home_url | relative_link }}" title="{{ home_name }}Home">&laquo; {{ home_name }}Home</a>
{% if is_logged_on -%}
<p><small><a hx-boost=false href="{{ page | edit_page_link }}">Edit This Page</a></small>
{% endif %}
</article>