Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Adding notification that project is discontinued
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed Feb 1, 2025
1 parent fb05c54 commit 4d4dde4
Show file tree
Hide file tree
Showing 2 changed files with 371 additions and 352 deletions.
134 changes: 79 additions & 55 deletions themes/hugoplate/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,58 +1,82 @@
<!doctype html>
<html
itemscope
class="{{- if not site.Params.theme_switcher -}}
<html itemscope class="{{- if not site.Params.theme_switcher -}}
{{- site.Params.theme_default -}}
{{- end -}}"
lang="{{ site.LanguageCode | default `en-US` }}"
itemtype="http://schema.org/WebPage">
<head>
<!-- head (don't cache it) -->
{{ partial "essentials/head.html" . }}


<!-- style (always cache it) -->
{{ partialCached "essentials/style.html" . }}
</head>

<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WZCZL75W" height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "preloader.html" . }}
{{ partialCached "gtm-noscript.html" . }}
{{ else }}
{{ partial "preloader.html" . }}


<!-- tailwind size indicator -->
{{ partial "components/tw-size-indicator.html" . }}
{{ end }}


<!-- header (don't cache it) -->
{{ partial "essentials/header.html" . }}
{{ partial "search-modal.html" (dict "Context" . ) }}


<main>
{{ block "main" . }}{{ end }}
</main>

<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "essentials/footer.html" . }}
{{ partialCached "essentials/script.html" . }}
{{ else }}
{{ partial "essentials/footer.html" . }}
{{ partial "essentials/script.html" . }}
{{ end }}

{{ partial "body_end_scripts.html" . }}
{{ partial "body_end_styles.html" . }}
</body>
{{- end -}}" lang="{{ site.LanguageCode | default `en-US` }}" itemtype="http://schema.org/WebPage">

<head>
<!-- head (don't cache it) -->
{{ partial "essentials/head.html" . }}


<!-- style (always cache it) -->
{{ partialCached "essentials/style.html" . }}

<style>
.banner {
background-color: #4B0082;
color: orange;
text-align: center;
font-weight: bold;
padding: 10px 0;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
font-size: 2rem;
}

body {
margin-top: 200px;
}
</style>

</head>

<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WZCZL75W" height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<div class="banner">
<p>As of Jan 2025, Key has</p>
<p>been discontinued. This website</p>
<p>is retained for reference.</p>
</div>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "preloader.html" . }}
{{ partialCached "gtm-noscript.html" . }}
{{ else }}
{{ partial "preloader.html" . }}


<!-- tailwind size indicator -->
{{ partial "components/tw-size-indicator.html" . }}
{{ end }}


<!-- header (don't cache it) -->
{{ partial "essentials/header.html" . }}
{{ partial "search-modal.html" (dict "Context" . ) }}


<main>
{{ block "main" . }}{{ end }}
</main>

<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "essentials/footer.html" . }}
{{ partialCached "essentials/script.html" . }}
{{ else }}
{{ partial "essentials/footer.html" . }}
{{ partial "essentials/script.html" . }}
{{ end }}

{{ partial "body_end_scripts.html" . }}
{{ partial "body_end_styles.html" . }}
</body>

</html>
Loading

0 comments on commit 4d4dde4

Please sign in to comment.