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:
parent
0f90d0ec4b
commit
0ab11d6662
@ -1,5 +1,5 @@
|
||||
/*
|
||||
Cook The Books v2.1.0
|
||||
Cook The Books v2.1.1
|
||||
Licensed under CC BY-SA 4.0
|
||||
Copyright 2022-2024 Oldgate Studios
|
||||
Copyright 2019-2024 ScriptsTown
|
||||
|
@ -1,6 +1,6 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
Cook The Books v2.1.0
|
||||
Cook The Books v2.1.1
|
||||
Licensed under CC BY-SA 4.0
|
||||
Copyright 2022-2024 Oldgate Studios
|
||||
Copyright 2019-2024 ScriptsTown
|
||||
|
@ -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 }}
|
||||
|
@ -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 }}
|
||||
|
@ -1,10 +1,7 @@
|
||||
<div class="site-branding">
|
||||
<div class="u-wrapper site-branding-wrap">
|
||||
<a href="{{ .Site.BaseURL | safeURL }}" aria-label="{{ i18n "homepage" }}">
|
||||
<img id="wordmark"
|
||||
src="{{ with .Site.Params.wordmark.image }}{{ . | safeURL }}{{ end }}"
|
||||
alt="{{ with .Site.Params.wordmark.alt }}{{ . }}{{ end }}"
|
||||
loading="lazy" />
|
||||
<img id="wordmark" src="{{ with .Site.Params.wordmark.image }}{{ . | safeURL }}{{ end }}" alt="{{ with .Site.Params.wordmark.alt }}{{ . }}{{ end }}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- if .Site.Menus.projects }}
|
||||
<li class="menu-item menu-item-has-children">
|
||||
<button class="main-navigation-arrow-btn" aria-expanded="false">
|
||||
<span class="screen-reader-text">{{ i18n "sub-menu-toggle" }}</span>
|
||||
@ -11,20 +12,21 @@
|
||||
<use xlink:href="#aXRKiF9KfND" mask="url(#f)" transform="matrix(0.375,0,0,0.35897436,3,3.5192308)" id="use1" />
|
||||
<use xlink:href="#bEbTfLzOf3X" mask="url(#h)" transform="matrix(0.375,0,0,0.35897436,3,3.5192308)" id="use2" />
|
||||
<use xlink:href="#cCW18mz3Gnz" mask="url(#j)" transform="matrix(0.375,0,0,0.35897436,3,3.5192308)" id="use3" />
|
||||
</svg>
|
||||
|
||||
</svg>
|
||||
</button>
|
||||
<ul class="sub-menu">
|
||||
{{ with .Site.Menus.projects }}
|
||||
{{ with .Site.Menus.projects }}
|
||||
{{ range sort . }}
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page">
|
||||
<a href="{{ .URL }}" {{ if eq $.RelPermalink .URL }} class="active" {{ end }}>{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
||||
{{- end }}
|
||||
|
||||
{{- if .Site.Menus.resources }}
|
||||
<li class="menu-item menu-item-has-children">
|
||||
<button class="main-navigation-arrow-btn" aria-expanded="false">
|
||||
<span class="screen-reader-text">{{ i18n "sub-menu-toggle" }}</span>
|
||||
@ -38,16 +40,16 @@
|
||||
<use xlink:href="#aXRKiF9KfND" mask="url(#f)" transform="matrix(0.375,0,0,0.35897436,3,3.5192308)" id="use1" />
|
||||
<use xlink:href="#bEbTfLzOf3X" mask="url(#h)" transform="matrix(0.375,0,0,0.35897436,3,3.5192308)" id="use2" />
|
||||
<use xlink:href="#cCW18mz3Gnz" mask="url(#j)" transform="matrix(0.375,0,0,0.35897436,3,3.5192308)" id="use3" />
|
||||
</svg>
|
||||
|
||||
</svg>
|
||||
</button>
|
||||
<ul class="sub-menu">
|
||||
{{ with .Site.Menus.resources }}
|
||||
{{ with .Site.Menus.resources }}
|
||||
{{ range sort . }}
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page">
|
||||
<a href="{{ .URL }}" {{ if eq $.RelPermalink .URL }} class="active" {{ end }}>{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user