generated from corysanin/nodejs-web-template
Add install count to homepage
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user