Initial upload

uploaded v0.1
This commit is contained in:
Bashy 2025-02-10 17:38:16 +02:00 • committed by GitHub
parent 7ca416624c
commit ffb8736de2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 642 additions and 0 deletions

View file

@ -0,0 +1,28 @@
<!-- This is the template for the post. -->
<div class="post">
<div class="post-header">
<h1 class="article"><%= page.title || "Untitled" %></h1>
<% if(page.photos) { %>
<div class="cover">
<img class="gallery" src="<%- config.root %><%- page.photos %>" alt="<%- page.title || "Untitled" %>">
</div>
<% } %>
<p class="post_description"><%= page.description %></p>
<% if(page.content) { %>
<hr class="page-divider">
<% } %>
<a href='<%= url_for(page.path) %>' class="page-date"><%- include('date', { date: page.date.toISOString() }) %></a>
</div>
<div class="post-content">
<%- page.content %>
</div>
<div class="post-footer">
<div class="tags smoll">
<% if (page.tags) { %>
<% page.tags.data.forEach(function(tag) { %>
<a href="<%= url_for('/tags/' + tag.name) %>">#<%= tag.name %></a>
<% }); %>
<% } else {console.log(page)} %>
</div>
</div>
</div>