This commit is contained in:
parent
dacdc533da
commit
3ab1c0c119
21 changed files with 2244 additions and 0 deletions
16
theme/default/partial/article-footer.ejs
Normal file
16
theme/default/partial/article-footer.ejs
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
<%- 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>
|
||||
<% } %>
|
Loading…
Add table
Add a link
Reference in a new issue