2022-06-23 02:14:38 +00:00
|
|
|
<article class="content auto">
|
|
|
|
{%- assign parts = page.title | split: ' » ' -%}
|
|
|
|
{%- assign parts_count = parts | size -%}
|
|
|
|
<h1 class="project-title">
|
|
|
|
{% if parts_count == 1 -%}
|
|
|
|
{{ page.title }}<br>
|
|
|
|
<small><small>
|
|
|
|
<a href="https://github.com/bit-badger/{{ page.title }}" target="_blank" rel="noopener"
|
|
|
|
title="{{ parts[0] }} on GitHub">
|
|
|
|
View on GitHub
|
|
|
|
</a>
|
2022-07-22 02:51:59 +00:00
|
|
|
{% if is_logged_on %} • <a hx-boost="false" href="{{ page | edit_page_link }}">Edit Page</a>{% endif %}
|
2022-06-23 02:14:38 +00:00
|
|
|
</small></small>
|
|
|
|
{%- else -%}
|
|
|
|
<small><small>
|
|
|
|
<a href="." title="{{ parts[0] }} Home">{{ parts[0] }}</a>
|
2022-07-22 02:51:59 +00:00
|
|
|
{% if is_logged_on %} • <a hx-boost="false" href="{{ page | edit_page_link }}">Edit</a>{% endif %}
|
2022-06-23 02:14:38 +00:00
|
|
|
</small></small>
|
|
|
|
<br>
|
|
|
|
{{ parts[1] }}
|
|
|
|
{%- endif %}
|
|
|
|
</h1>
|
|
|
|
{{ page.text }}
|
|
|
|
{% if parts_count > 1 -%}
|
|
|
|
<p class="project-footer">
|
|
|
|
<a href="." title="{{ parts[0] }} Home">« {{ parts[0] }} Home</a>
|
|
|
|
<a href="https://github.com/bit-badger/{{ parts[0] }}" target="_blank" rel="noopener"
|
|
|
|
title="{{ parts[0] }} on GitHub">
|
|
|
|
View GitHub Repo
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
{%- endif %}
|
|
|
|
</article>
|