Improved homepage, added newsletter self-subscription

This commit is contained in:
Bashy 2026-06-11 15:45:56 +03:00
parent e820431d0c
commit 4ac6e74cdc
9 changed files with 348 additions and 36 deletions

View file

@ -1,23 +1,26 @@
<% if(page.event.video != "TBD") { %>
<% if(page.event.video && page.event.video != "TBD") { %>
<div>
<%- page.event.video %>
</div>
<%} %>
<% } %>
<div>
<h1 class="event">
<%- page.event.date %> at <%- page.event.time %>
</h1>
<div class="event-actions">
<% if (page.event.luma && page.event.luma !== false) { %>
<a href="<%- page.event.luma %>" target="_blank" class="btn-event btn-luma"><i class="fa-solid fa-calendar-check"></i> RSVP on Luma</a>
<% } %>
<a href="http://speakers.openalt.ro/" target="_blank" class="btn-event btn-speaker"><i class="fa-solid fa-microphone"></i> Call for Presentations</a>
</div>
</div>
<% if(page.event.program != "TBD") { %>
<div>
<h2> AGENDA </h2>
<!-- When agenda is public -->
<% page.event.program.forEach(function(item, index) { %>
<h2 class="program"><%- item.name %> by <a href="<%- item.speaker.url %>"><%- item.speaker.name %></a></h2>
<h2 class="program"><%- item.name %> by <% if (item.speaker.url) { %><a href="<%- item.speaker.url %>"><%- item.speaker.name %></a><% } else { %><%- item.speaker.name %><% } %></h2>
<% if (index < page.event.program.length - 1) { %>
<h2 class="program break">B R E A K</h2>
<% } %>
@ -30,21 +33,16 @@
<h3>
<a href='<%- page.event.place.link %>'><i class="fa fa-map-marker-alt"></i> <%- page.event.place.name %></a>
</h3>
<% if(page.event.place.osm != "TBD" || page.event.place.osm != "") { %>
<% if(page.event.place.osm && page.event.place.osm != "TBD" && page.event.place.osm != "") { %>
<span class="osm"><%- page.event.place.osm %></span>
<% } %>
<%} else { %>
<% } else { %>
<h3>
<i class="fa fa-map-marker-alt"></i> TBD
</h3>
<% } %>
</div>
<div class="smoll">
Would you like to speak on this or our next meetup? <br> Submit your talk here: <a href="http://speakers.openalt.ro/">speakers.openalt.ro</a>.
</div>
<div class="post-content">
<%- page.content %>
</div>