Sophia Atkinson 0ab11d6662
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
2024-08-21 00:31:35 -07:00

31 lines
1.2 KiB
HTML

{{ define "main" }}
<div id="content" class="site-content">
<div class="ctb-content-sidebar u-wrapper">
<main id="primary" class="site-main">
<article class="ctb-article ctb-singular page type-page hentry">
<div class="ctb-content">
<div class="entry-content has-text-align-center">
<h1 class="block-heading pulse">403</h1>
<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 }}