--- a/hugo/config.toml Thu Oct 13 23:23:56 2022 -0500
+++ b/hugo/config.toml Thu Oct 13 23:24:55 2022 -0500
@@ -32,6 +32,7 @@
#notificationCode = "nest-launch"
notificationMessage = "Looking to reach us via XMPP? Check out the new <a href='/about/pidginchat'>PidginChat</a> service!"
notificationCode = "pidgin-chat-announcement"
+notificationType = "tip" home = [ "HTML", "RSS", "JSON"]
--- a/hugo/layouts/partials/custom-footer.html Thu Oct 13 23:23:56 2022 -0500
+++ b/hugo/layouts/partials/custom-footer.html Thu Oct 13 23:24:55 2022 -0500
@@ -3,11 +3,12 @@
{{ if (and .Site.Params.notificationMessage .Site.Params.notificationCode)}}
<script src="/js/js.cookie.min.js"></script>
- <div id="notification-stage">
- <div class="alert-bar notification-bar">
- <i class="fas fa-exclamation"></i>
- <div class="alert-bar-close-button"><i class="fas fa-times"></i></div>
- <span>{{ .Site.Params.notificationMessage | safeHTML }}</span>
+ <div style="display:none;"> + <div class="notices {{ .Site.Params.notificationType }} notification-bar"> + <span class="alert-bar-close-button"><i class="fas fa-times"></i></span> + {{ .Site.Params.notificationMessage | safeHTML }} @@ -29,34 +30,12 @@
- background-color: #0c8a0c;
- text-decoration: underline;
.alert-bar-close-button {