Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8fca29e91d | |||
| 76eee516ff |
+19
-16
@@ -3,15 +3,21 @@
|
|||||||
<meta charset=utf-8>
|
<meta charset=utf-8>
|
||||||
<meta name=viewport content="width=device-width">
|
<meta name=viewport content="width=device-width">
|
||||||
<meta name=htmx-config content='{"historyCacheSize":0}'>
|
<meta name=htmx-config content='{"historyCacheSize":0}'>
|
||||||
<title>{{ page_title }} » Bit Badger Solutions</title>
|
{%- if page -%}
|
||||||
|
{%- assign series_name = page.metadata | value: "series_name" -%}
|
||||||
|
{%- if series_name == "-- series_name not found --" %}{% assign series_name = "" %}{% endif -%}
|
||||||
|
{%- else -%}
|
||||||
|
{%- assign series_name = "" -%}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- capture extra_title %}{% if series_name == "" %}{% else %} {{ series_name }} »{% endif %}{% endcapture -%}
|
||||||
|
<title>{{ page_title }} »{{ extra_title }} Bit Badger Solutions</title>
|
||||||
<link rel=stylesheet href="https://fonts.googleapis.com/css?family=Oswald|Raleway">
|
<link rel=stylesheet href="https://fonts.googleapis.com/css?family=Oswald|Raleway">
|
||||||
{% page_head -%}
|
{% page_head -%}
|
||||||
<body hx-boost:inherited=true hx-target:inherited=main hx-indicator:inherited=#loadOverlay
|
<body hx-boost=true hx-target=main hx-indicator=#loadOverlay hx-swap="innerHTML show:body:top">
|
||||||
hx-swap:inherited="innerHTML show:top showTarget:body">
|
|
||||||
<header class=site-header>
|
<header class=site-header>
|
||||||
<div class=header-logo>
|
<div class=header-logo>
|
||||||
<a href={{ "" | relative_link }}>
|
<a href="{{ "" | relative_link }}">
|
||||||
<img src={{ "bitbadger.png" | theme_asset }}
|
<img src="{{ "bitbadger.png" | theme_asset }}"
|
||||||
alt="A cartoon badger looking at a computer screen, with his paw on a mouse"
|
alt="A cartoon badger looking at a computer screen, with his paw on a mouse"
|
||||||
title="Bit Badger Solutions">
|
title="Bit Badger Solutions">
|
||||||
</a>
|
</a>
|
||||||
@@ -20,31 +26,28 @@
|
|||||||
<div class=header-spacer> </div>
|
<div class=header-spacer> </div>
|
||||||
<div class=header-social>
|
<div class=header-social>
|
||||||
<a href=https://twitter.com/Bit_Badger title="Bit_Badger on Twitter" target=_blank>
|
<a href=https://twitter.com/Bit_Badger title="Bit_Badger on Twitter" target=_blank>
|
||||||
<img src={{ "twitter.png" | theme_asset }} alt="Twitter">
|
<img src="{{ "twitter.png" | theme_asset }}" alt="Twitter">
|
||||||
</a>
|
</a>
|
||||||
<a href=https://www.facebook.com/bitbadger.solutions title="Bit Badger Solutions on Facebook" target=_blank>
|
<a href=https://www.facebook.com/bitbadger.solutions title="Bit Badger Solutions on Facebook" target=_blank>
|
||||||
<img src={{ "facebook.png" | theme_asset }} alt="Facebook">
|
<img src="{{ "facebook.png" | theme_asset }}" alt="Facebook">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class=load-overlay id=loadOverlay><h1>Loading…</h1></div>
|
<div class=load-overlay id="loadOverlay"><h1>Loading…</h1></div>
|
||||||
<main>{{ content }}</main>
|
<main>{{ content }}</main>
|
||||||
<footer hx-boost:inherited=false>
|
<footer hx-boost=false>
|
||||||
<div>
|
<div>
|
||||||
<small>
|
<small>
|
||||||
{% if is_logged_on -%}
|
{% if is_logged_on -%}
|
||||||
<a href={{ "admin/dashboard" | relative_link }}>Dashboard</a> ~
|
<a href="{{ "admin/dashboard" | relative_link }}">Dashboard</a> ~
|
||||||
<form id=mwl-log-off method=post action={{ "user/log-off" | relative_link }} style="display:inline">
|
<a href="{{ "user/log-off" | relative_link }}">Log Off</a>
|
||||||
<a href={{ "user/log-off" | relative_link}}
|
|
||||||
onclick="document.getElementById('mwl-log-off').submit(); return false">Log Off</a>
|
|
||||||
</form>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href={{ "user/log-on" | relative_link }}>Log On</a>
|
<a href="{{ "user/log-on" | relative_link }}">Log On</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<div class=footer-by>
|
<div class=footer-by>
|
||||||
A <strong><a href={{ "" | relative_link }}>Bit Badger Solutions</a></strong> original design
|
A <strong><a href="{{ "" | relative_link }}">Bit Badger Solutions</a></strong> original design
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{% page_foot %}
|
{% page_foot %}
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
<article class="content auto">
|
<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 }} • {% endif %}{% endcapture -%}
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
{{ page.text }}
|
{{ page.text }}
|
||||||
<p><br><a href="{{ "" | relative_link }}" title=Home>« Home</a>
|
<p><br><a href="{{ home_url | relative_link }}" title="{{ home_name }}Home">« {{ home_name }}Home</a>
|
||||||
{% if is_logged_on -%}
|
{% if is_logged_on -%}
|
||||||
<p><small><a hx-boost=false href="{{ page | edit_page_link }}">Edit This Page</a></small>
|
<p><small><a hx-boost=false href="{{ page | edit_page_link }}">Edit This Page</a></small>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
Bit Badger Solutions
|
Bit Badger Solutions
|
||||||
20260719
|
20250309
|
||||||
Reference in New Issue
Block a user