techstack.hadan.de/theme/default/partial/article-footer.ejs
Stephan Hadan 3ab1c0c119
All checks were successful
Preview / build-deploy (push) Successful in 50s
added styling
2025-02-18 12:48:15 +01:00

16 lines
No EOL
717 B
Text

<%- include('previous'); %>
<% if (editButton && editButton.url && editButton.label) { %>
<section class="article-footer">
<a href="<%=editButton.url || '' %>" class="edit-button" target="_blank" rel="noopener noreferrer">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path>
</svg>
<span><%=editButton.label%></span>
</a>
<% if (fileStat && fileStat.mtimeStr) { %>
<span class="atime"><%= fileStat.mtimeStr %></span>
<% } %>
</section>
<% } %>