updated theme, and bumped version

I made it easier for users to change 404, and 403 pages
along with making it so if projects or resources aren't used then they are removed from the menu.

This theme is now V2.1.1
This commit is contained in:
2024-08-21 00:31:35 -07:00
parent 0f90d0ec4b
commit 0ab11d6662
6 changed files with 45 additions and 30 deletions

View File

@ -6,17 +6,25 @@
<div class="ctb-content">
<div class="entry-content has-text-align-center">
<h1 class="block-heading pulse">404</h1>
<h2 class="block-heading">Lost in cyberspace!</h2>
<p class="block-heading">Uh-oh! It seems like the page you're looking for has gone on an unexpected interstellar journey. We're currently navigating through the digital cosmos to retrieve it.</p>
<div class="block-image">
<figure class="aligncenter size-full">
<img loading="lazy" decoding="async" width="auto" height="512px" src="https://git.oldgate.org/OGS/Branding/raw/branch/main/Characters/vector/white/white-404-ojer.svg" alt="">
</figure>
</div>
<h2 class="block-heading">
{{ with .Site.Params.notfound.header }}{{ . }}{{ else }}Page Not Found{{ end }}
</h2>
<p class="block-heading">
{{ with .Site.Params.notfound.paragraph }}{{ . }}{{ else }}Sorry, the page you are looking for could not be found.{{ end }}
</p>
{{ with .Site.Params.notfound.image }}
<div class="block-image">
<figure class="aligncenter size-full">
<img loading="lazy" decoding="async" width="auto" height="512px"
src="{{ . | safeURL }}"
alt="{{ with $.Site.Params.notfound.alt }}{{ . }}{{ end }}">
</figure>
</div>
{{ end }}
</div>
</div>
</article>
</main>
</div>
</div>
{{ end }}
{{ end }}