Fixing up the theme to be ready for publishing
This commit is contained in:
parent
fa71a1c61f
commit
aa354ad732
3 changed files with 8 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue