docs(website): add warning shortcode and basic 404 page

TorchedSammy 2022-07-09 12:40:29 -04:00
parent d5d8c05230
commit 7e85ee1ac3
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{{ define "main"}}
<main id="main">
<div>
<h1><a href="{{ "/" | relURL }}">Go Home</a></h1>
</div>
</main>
{{ end }}

View File

@ -0,0 +1,6 @@
<div class="alert alert-warning d-flex align-items-center" role="alert">
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Warning:"><use xlink:href="#exclamation-triangle-fill"/></svg>
<div>
{{ index .Params 0 }}
</div>
</div>