Update for beta 5

This commit is contained in:
Daniel J. Summers 2022-07-21 22:51:59 -04:00
parent c7fb7cfc20
commit b9bf19d710
5 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<div class="home">
<article class="content auto">
{{ page.text }}
{% if logged_on -%}
{% if is_logged_on -%}
<p><small><a hx-boost="false" href="{{ page | edit_page_link }}">Edit This Page</a></small></p>
{% endif %}
</article>

View File

@ -32,7 +32,7 @@
<footer hx-boost="false">
<div>
<small>
{% if logged_on -%}
{% if is_logged_on -%}
<a href="{{ "admin/dashboard" | relative_link }}">Dashboard</a> ~
<a href="{{ "user/log-off" | relative_link }}">Log Off</a>
{% else %}

View File

@ -9,12 +9,12 @@
title="{{ parts[0] }} on GitHub">
View on GitHub
</a>
{% if logged_on %} &bull; <a hx-boost="false" href="{{ page | edit_page_link }}">Edit Page</a>{% endif %}
{% if is_logged_on %} &bull; <a hx-boost="false" href="{{ page | edit_page_link }}">Edit Page</a>{% endif %}
</small></small>
{%- else -%}
<small><small>
<a href="." title="{{ parts[0] }} Home">{{ parts[0] }}</a>
{% if logged_on %} &bull; <a hx-boost="false" href="{{ page | edit_page_link }}">Edit</a>{% endif %}
{% if is_logged_on %} &bull; <a hx-boost="false" href="{{ page | edit_page_link }}">Edit</a>{% endif %}
</small></small>
<br>
{{ parts[1] }}

View File

@ -2,7 +2,7 @@
<h1>{{ page.title }}</h1>
{{ page.text }}
<p><br><a href="{{ "" | relative_link }}" title="Home">&laquo; Home</a></p>
{% if logged_on -%}
{% if is_logged_on -%}
<p><small><a hx-boost="false" href="{{ page | edit_page_link }}">Edit This Page</a></small></p>
{% endif %}
</article>

View File

@ -92,7 +92,7 @@
</section>
{%- endif %}
<p><br><a href="{{ "solutions" | relative_link }}">&laquo; Back to All Solutions</a></p>
{% if logged_on -%}
{% if is_logged_on -%}
<p><small><a hx-boost="false" href="{{ page | edit_page_link }}">Edit This Page</a></small></p>
{% endif %}
</article>