Fixing up the theme to be ready for publishing

This commit is contained in:
Bashy 2025-09-24 21:04:43 +03:00
parent fa71a1c61f
commit aa354ad732
3 changed files with 8 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<div class="post">
<div class="post-header">
<h1 class="article"><%= page.title || "Untitled" %></h1>
<% if(page.photos) { %>
<% if(page.photos && page.photos.length) { %>
<div class="cover">
<img class="gallery" src="<%- config.root %><%- page.photos[0] %>" alt="<%- page.title || "Untitled" %>">
</div>