Add install count to homepage

This commit is contained in:
2025-10-31 23:18:18 -05:00
parent 1a73732f7c
commit f5c9d8c0c4
5 changed files with 56 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<link rel="canonical" href="<%= page.canonical%>"/>
<% } %>
<link rel="shortcut icon" href="/assets/svg/favicon.svg">
<link rel="stylesheet" href="/assets/css/styles.css?v5">
<link rel="stylesheet" href="/assets/css/styles.css?v6">
<script nonce="<%= cspNonce %>">
document.addEventListener("DOMContentLoaded", function() {
document.body.classList.remove('preload');

View File

@@ -8,6 +8,11 @@
<body class="preload">
<%- include("navigation", locals) %>
<div class="content">
<% if (installs && installs.length) { %>
<div id="installs">
<h1>We have saved <span><%= installs.length %></span> computer<% if (installs.length > 1) { %>s<% } %>!</h1>
</div>
<% } %>
<p><a href="https://www.sector67.org/">Sector67</a> presents...</p>
<h1>Linux Install Party Madison</h1>
<h2>Are you ready to reduce e-waste and save some money?</h2>