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">403</h1>
<h2 class="block-heading">The Path Ahead Is Forbidden</h2>
<p class="block-heading">We regret to inform you that the journey you are attempting to embark upon has been deemed forbidden. You stand at the threshold of a path barred by digital locks and guarded by impenetrable gates.</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-stop-ojer.svg" alt="">
</figure>
</div>
<h2 class="block-heading">
{{ with .Site.Params.forbidden.header }}{{ . }}{{ else }}Forbidden{{ end }}
</h2>
<p class="block-heading">
{{ with .Site.Params.forbidden.paragraph }}{{ . }}{{ else }}Sorry, you do not have permission to access this page.{{ end }}
</p>
{{ with .Site.Params.forbidden.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.forbidden.alt }}{{ . }}{{ end }}">
</figure>
</div>
{{ end }}
</div>
</div>
</article>
</main>
</div>
</div>
{{ end }}
{{ end }}